From 2a9cb8658d1de31641b7a3460cea10532436c768 Mon Sep 17 00:00:00 2001 From: Steve Gerbino Date: Wed, 10 Jun 2026 20:15:37 +0200 Subject: [PATCH] ci: block merges that drop coverage Make the codecov project status a failing check (target auto, 0% threshold) instead of informational, so any drop in include/ + src/ coverage fails it. Requires the check to be marked required in branch protection. ci.yml already uploads coverage on every PR. --- .codecov.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index e67db52b9..2a6ca9941 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -12,12 +12,12 @@ codecov: after_n_builds: 1 wait_for_ci: yes -# Make coverage checks informational (report but never fail CI) coverage: status: project: default: - informational: true + target: auto + threshold: 0% patch: default: informational: true