Skip to content

Commit

Permalink
Merge pull request #580 from BobBuildTool/codecov-token
Browse files Browse the repository at this point in the history
github: use upload token for coverage
  • Loading branch information
jkloetzke authored Aug 1, 2024
2 parents e3cee03 + 8eb64a2 commit 3c25f8b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
- name: Upload coverage to Codecov
# Coverage is not complete on Python <3.7 (see pym/bob/utils.py)
if: matrix.python-version != '3.6'
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Store the binary wheel
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -90,7 +92,9 @@ jobs:
bash ./test/run-tests.sh -c xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

build-sdist:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3c25f8b

Please sign in to comment.