Skip to content

Commit aede576

Browse files
authored
Use codecov only for informational purposes (#398)
* Use codecov only for informational purposes The code coverage for a new patch/change is only shown for informational purposes. It should not block any PR, rather it should be a point to discuss about. * Use one single run to be uploaded to codecov
1 parent 7f8cfe5 commit aede576

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
8484
- name: Upload results to Codecov
8585
uses: codecov/codecov-action@v4
86+
if: matrix.os == 'ubuntu-24.04'
8687
with:
8788
token: ${{ secrets.CODECOV_TOKEN }}
8889

codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ coverage:
66
default:
77
target: auto
88
threshold: 50% # Allow more fluctuation
9+
informational: true # Do not fail CI; only provide information
910
patch:
1011
default:
1112
target: auto
1213
threshold: 10% # Stricter for new changes
14+
informational: true # Do not fail CI; only provide information
1315

1416
comment:
1517
layout: "condensed_header, condensed_files, condensed_footer" # add "condensed_" to "header", "files" and "footer"

0 commit comments

Comments
 (0)