summaryrefslogtreecommitdiffstats
path: root/.codecov.yml
diff options
context:
space:
mode:
authorSviatoslav Sydorenko (Святослав Сидоренко) <wk@sydorenko.org.ua>2024-09-13 16:46:48 +0200
committerGitHub <noreply@github.com>2024-09-13 16:46:48 +0200
commit090511e65b726d16d0d0221116dde1d52eb32abd (patch)
treed2bc39e02480d1f15db2ee695fdd2049a98044e8 /.codecov.yml
parentfix: avoid race conditions when removing multiple instance (#15495) (diff)
downloadawx-090511e65b726d16d0d0221116dde1d52eb32abd.tar.xz
awx-090511e65b726d16d0d0221116dde1d52eb32abd.zip
🧪 Gather coverage @ CI and upload to Codecov (#15499)
Diffstat (limited to '.codecov.yml')
-rw-r--r--.codecov.yml49
1 files changed, 49 insertions, 0 deletions
diff --git a/.codecov.yml b/.codecov.yml
new file mode 100644
index 0000000000..cf03f5b8fb
--- /dev/null
+++ b/.codecov.yml
@@ -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%
+
+...