From ad29c2fde90a702a2a81974988746cfc2bf1565b Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Sat, 19 Apr 2025 21:13:05 +0100 Subject: [PATCH] added codecov.yml --- codecov.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..85e9c12 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,17 @@ +coverage: + status: + # Project coverage status: require ≥ 90% overall, allow up to 2% drop + project: + default: + target: 90% # overall coverage goal + threshold: 2% # tolerable drop below target before failing + base: auto # compare against default branch + only_pulls: true # enforce on PRs only + + # Patch coverage status: require ≥ 95% on new/changed lines, zero tolerance + patch: + default: + target: 95% # coverage goal for new or changed code + threshold: 0% # no uncovered lines allowed + base: auto # diff against default branch + only_pulls: true