Skip to content

Commit c322be7

Browse files
committed
Use codecov-action in place of manual upload
1 parent 11f76bf commit c322be7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,9 @@ jobs:
3232
3333
- name: Run tests
3434
run: |
35-
pytest --cov-report term --cov=s2fft --cov-config=.coveragerc
36-
codecov --token 298dc7ee-bb9f-4221-b31f-3576cc6cb702
35+
pytest --cov-report=xml --cov=s2fft --cov-config=.coveragerc
36+
37+
- name: Upload coverage reports to Codecov
38+
uses: codecov/codecov-action@v3
39+
env:
40+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)