Skip to content

Commit

Permalink
Update codecov action and include token.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroCabeza committed Sep 2, 2024
1 parent 7062f46 commit b8de692
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
- name: Build coverage file
run: pytest --cache-clear --cov=rusty_results --cov-report=xml:pytest-coverage.xml ./rusty_results
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./pytest-coverage.xml
fail_ci_if_error: true
fail_ci_if_error: true

0 comments on commit b8de692

Please sign in to comment.