diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d9113e..ea0a0cb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -139,12 +139,13 @@ jobs: run: coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: - token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml env_vars: OS,PYTHON # Don't mark the job as failed if the upload fails for some reason. # It does sometimes but shouldn't be the reason for running # everything again unless something else is broken. fail_ci_if_error: false + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}