From f380760a4c8839afe265bdca4b7732e7309874e8 Mon Sep 17 00:00:00 2001 From: Nick Murphy Date: Wed, 4 Nov 2026 14:33:45 -0500 Subject: [PATCH] Fail Codecov checks on low coverage Make the project status fail when a change lowers overall coverage by more than 0.1%, and the patch status fail when less than 95% of changed lines are covered. Both statuses were previously informational only. Co-Authored-By: Claude Opus 5.5 --- .github/codecov.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index 3518c27..c61872c 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -7,10 +7,11 @@ coverage: status: project: default: - informational: true # report coverage without failing checks + target: auto # compare against the coverage of the base commit + threshold: 0.1% # allowed decrease before the check fails patch: default: - informational: true + target: 95% # minimum coverage of lines changed in a PR comment: layout: diff, flags, files