This is an automated email from the ASF dual-hosted git repository.

stevedlawrence pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil.git


The following commit(s) were added to refs/heads/main by this push:
     new ec72d23c4 Make codecov patch stats informational on the main branch
ec72d23c4 is described below

commit ec72d23c408347a1ac97b0e27e5d2c8b348d766a
Author: Steve Lawrence <[email protected]>
AuthorDate: Wed May 27 10:56:04 2026 -0400

    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 b09cd1cc4..61ed0cdcc 100644
--- a/.codecov.yml
+++ b/.codecov.yml
@@ -19,5 +19,9 @@ coverage:
     patch: 
       default:
         target: auto
+      main:
+        branches:
+          - main
+        informational: true
 
 comment: false

Reply via email to