Skip to content

Commit

Permalink
Fix GitHub action to use Codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiara Rasi committed Apr 23, 2024
1 parent cf759e9 commit e9b56db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test_n_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ jobs:
run: poetry run pytest --cov=./ --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: unittests
files: ./coverage.xml
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [unreleased]
### Fixed
- Upload to Codecov step in `tests_n_coverage.yml` action

## [2.5.1]
### Fixed
- Avoid "/bin/sh: 1: gunicorn: not found" error by using poetry <1.8 in Dockerfile
Expand Down

0 comments on commit e9b56db

Please sign in to comment.