From 9f8902ca0b616e6c42868c44de0b17dde3db712d Mon Sep 17 00:00:00 2001 From: Interchouette <484423+Interchouette@users.noreply.github.com> Date: Wed, 16 Sep 2026 16:24:04 +0200 Subject: [PATCH] ci: make Codecov patch status blocking Turn off informational-only Codecov statuses so patch failures cannot look green. Keep project on auto so pre-existing misses do not fail every PR. Co-authored-by: Cursor --- codecov.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/codecov.yml b/codecov.yml index 20f0581..6ea4754 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,14 +1,26 @@ # Paths excluded from Codecov totals (demo hosts). # Plain folder paths only (Codecov treats entries as regex; avoid ** bombs). # Upload token stays in GitHub Actions secrets, not here. +# +# Patch must be blocking (not informational). Project uses `auto` so pre-existing +# misses do not fail every PR; new lines still need 100% patch coverage. +codecov: + require_ci_to_pass: true + notify: + wait_for_ci: true + coverage: status: project: default: - informational: true + target: auto + threshold: 0% + informational: false patch: default: - informational: true + target: 100% + threshold: 0% + informational: false ignore: - "demo-leptos"