Skip to content

Commit

Permalink
Use codecov only for informational purposes (#398)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
schroedtert authored Dec 16, 2024
1 parent 7f8cfe5 commit aede576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
if: matrix.os == 'ubuntu-24.04'
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
2 changes: 2 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ coverage:
default:
target: auto
threshold: 50% # Allow more fluctuation
informational: true # Do not fail CI; only provide information
patch:
default:
target: auto
threshold: 10% # Stricter for new changes
informational: true # Do not fail CI; only provide information

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

0 comments on commit aede576

Please sign in to comment.