From 6cbf2dd32cf9e6fadb3fd11a4110c0d422638e06 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Tue, 19 Nov 2024 17:27:28 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Add=20a=20Codecov=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .codecov.yml | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .codecov.yml diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..bf955c52 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,53 @@ +--- + +codecov: + notify: + after_n_builds: 26 # Number of test matrix+lint jobs uploading coverage + wait_for_ci: false + + require_ci_to_pass: false + + token: >- # notsecret # repo-scoped, upload-only, stability in fork PRs + 78c6cd01-1f6b-428a-8be0-9069e6073d6d + +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% + packaging: + paths: + - packaging/ + target: 75.24% + tests: + flags: + - pytest + paths: + - tests/ + target: 100% + typing: + flags: + - MyPy + target: 100% + +...