Skip to content

Commit

Permalink
OPS: Update codecov GitHub actions and provide token
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Apr 11, 2024
1 parent c83303f commit 14481ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ jobs:
run: tox -vv -e py

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

test-publish:
if: "!contains(github.event.head_commit.message, 'skipci')"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ jobs:
run: tox -vv -e py

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}

outputs:
package_version: ${{ steps.get-package-version.outputs.PACKAGE_VERSION }}
Expand Down

0 comments on commit 14481ac

Please sign in to comment.