Skip to content

Commit

Permalink
configure codecov action v4
Browse files Browse the repository at this point in the history
  • Loading branch information
cj81499 committed Apr 26, 2024
1 parent 13bdcd7 commit 0a5d714
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
- name: Run tests
run: pdm run pytest --cov=. --cov-report=xml

# TODO: consider uploading only for one python version
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 0a5d714

Please sign in to comment.