ci: codecov: Add upload token for codecov action
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 <root@stephanos.io>
This commit is contained in:
parent
f0af6aa8b2
commit
d0ae1a8b10
1 changed files with 2 additions and 1 deletions
3
.github/workflows/codecov.yaml
vendored
3
.github/workflows/codecov.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue