Skip to content

Commit

Permalink
ci: codecov: Add upload token for codecov action
Browse files Browse the repository at this point in the history
This commit adds the token for uploading to codecov.io because codecov now
requires a token and rejects any upload requests without one.

It also updates the codecov-action version from v3 to v4, which is required
for using a "global upload token."

Signed-off-by: Stephanos Ioannidis <[email protected]>
  • Loading branch information
stephanosio authored and nashif committed May 15, 2024
1 parent f0af6aa commit d0ae1a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,11 @@ jobs:
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: ./coverage/reports
env_vars: OS,PYTHON
fail_ci_if_error: false
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
files: merged.xml

0 comments on commit d0ae1a8

Please sign in to comment.