Skip to content

Commit

Permalink
Update codecov action to v4, limit to latest version
Browse files Browse the repository at this point in the history
Token is required for Codecov now

Only upload coverage report for latest version

(since the project should behave the same under every version)
  • Loading branch information
endolith committed Jul 30, 2024
1 parent c54c52c commit 9097c97
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,11 @@ jobs:
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.1
if: matrix.python-version == '3.12'
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 9097c97

Please sign in to comment.