Skip to content

Commit

Permalink
Codecov coverage reporting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronek committed Apr 3, 2024
1 parent 4bcbf70 commit 0c94563
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ coverage:
default:
target: 60%
threshold: 2%

ignore:
- "src/test/"

parsers:
cobertura:
partials_as_hits: true
6 changes: 4 additions & 2 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,15 @@ jobs:
path: coverage.xml
retention-days: 30
- name: upload coverage report
uses: wandalen/wretry.action@v1.3.0
uses: wandalen/wretry.action@v1.4.10
with:
action: codecov/codecov-action@v4
with: |
files: coverage.xml
fail_ci_if_error: true
disable_search: true
verbose: true
plugin: none
token: ${{ secrets.CODECOV_TOKEN }}
attempt_limit: 5
attempt_delay: 35000 # in milliseconds
attempt_delay: 70000 # in milliseconds

0 comments on commit 0c94563

Please sign in to comment.