Skip to content

Commit

Permalink
build: Update codecov and use the new token. (#2206)
Browse files Browse the repository at this point in the history
Newer versions of codecov require a repo specific token to publish
coverage reports.  The older versions don't but are failing more often
as they prepare to drop support for them. As a part of this change a
the token was added as a repository actions secret.
  • Loading branch information
Feanil Patel authored Apr 16, 2024
1 parent 79bad49 commit 00934e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:

- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv=='django42'
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
flags: unittests
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 00934e2

Please sign in to comment.