From 629d186807e86ca0fef19a81ab874790f4907bce Mon Sep 17 00:00:00 2001 From: Steve Lawrence Date: Wed, 27 May 2026 10:56:04 -0400 Subject: [PATCH] Make codecov patch stats informational on the main branch Sometimes we merge PRs that do not meet the codecov patch threshold, usually because it is not possible or requires too much effort to meet. This leads to a CI failure on the main branch when these PRs are merged. But by merging a PR we are tacitly agreeing to accept whatever coverage it has and so we don't need to report CI failures that might hide actual failures. This changes the codecov patch configuration for the main branch so it is informational only. CI will still run coverage and report the stats, but it should not cause CI to indicate coverage failures even if the patch threshold is not met. DAFFODIL-3081 --- .codecov.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.codecov.yml b/.codecov.yml index b09cd1cc42..61ed0cdcca 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -19,5 +19,9 @@ coverage: patch: default: target: auto + main: + branches: + - main + informational: true comment: false