Skip to content

Commit

Permalink
Update testing-and-coverage.yml.jinja to use codecov token (#47)
Browse files Browse the repository at this point in the history
The preferred method for uploading coverage reports to codecov has changed, and they expect a token to be included in the request. This PR updates the github action to match the current best practice.
  • Loading branch information
drewoldag authored Jun 3, 2024
1 parent 51887c0 commit b10e213
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ jobs:
run: |
python -m pytest tests --cov={{package_name}} --cov-report=xml
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}

0 comments on commit b10e213

Please sign in to comment.