From 96d8dbcc3fdadc61122521fb6f4d078a0ce8f422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attilio=20Don=C3=A0?= Date: Tue, 10 Dec 2024 12:19:20 +0100 Subject: [PATCH] Add codecov.yaml --- codecov.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 codecov.yaml diff --git a/codecov.yaml b/codecov.yaml new file mode 100644 index 0000000..46a1e1a --- /dev/null +++ b/codecov.yaml @@ -0,0 +1,15 @@ +codecov: + require_ci_to_pass: yes + +coverage: + status: + project: + default: false # disable the default status that measures entire project + source: + paths: + - "src/" + target: 100% + threshold: 0.1 + patch: + default: + target: 90% # new contributions should have a coverage at least equal to target \ No newline at end of file