🧪 Gather coverage @ CI and upload to Codecov (#15499)

This commit is contained in:
Sviatoslav Sydorenko (Святослав Сидоренко)
2024-09-13 16:46:48 +02:00
committed by GitHub
parent 1c170c3a12
commit 090511e65b
3 changed files with 103 additions and 10 deletions

49
.codecov.yml Normal file
View File

@@ -0,0 +1,49 @@
---
codecov:
notify:
after_n_builds: 1 # Number of test matrix+lint jobs uploading coverage
wait_for_ci: false
require_ci_to_pass: false
token: >- # repo-scoped, upload-only, needed for stability in PRs from forks
2b8c7a7a-7293-4a00-bf02-19bd55a1389b
comment:
require_changes: true
coverage:
range: 100..100
status:
patch:
default:
target: 100%
pytest:
target: 100%
flags:
- pytest
typing:
flags:
- MyPy
project:
default:
target: 100%
lib:
flags:
- pytest
paths:
- src/
target: 100%
tests:
flags:
- pytest
paths:
- tests/
target: 100%
typing:
flags:
- MyPy
target: 100%
...