Skip to content

Commit 7bb1f0e

Browse files
committed
use codecov token
1 parent 4afdc0b commit 7bb1f0e

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,18 @@ jobs:
9191
env:
9292
PIXELMATCH_BIN: ${{ env.GITHUB_WORKSPACE }}/node_modules/.bin/pixelmatch
9393

94-
- name: Upload python coverage
94+
- name: Generate python coverage
9595
run: |
9696
tox -e coverage-report
97-
tox -e codecov
98-
env:
99-
CODECOV_NAME: ${{ github.workflow }}
97+
98+
- uses: codecov/codecov-action@v5
99+
name: Upload python coverage
100+
with:
101+
files: .tox/coverage/coverage.xml
102+
flags: python
103+
name: ${{ github.workflow }}
104+
token: ${{ secrets.CODECOV_TOKEN }}
105+
verbose: true
100106

101107
- name: Generate js coverage report
102108
run: npm run report
@@ -107,6 +113,7 @@ jobs:
107113
files: coverage/lcov.info
108114
flags: javascript
109115
name: ${{ github.workflow }}
116+
token: ${{ secrets.CODECOV_TOKEN }}
110117
verbose: true
111118

112119
lint:

0 commit comments

Comments
 (0)