Skip to content

Commit f37eaee

Browse files
committed
Use codecov-action in place of manual upload
1 parent 2c3d9e5 commit f37eaee

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/tests.yml

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

requirements/requirements-tests.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Testing
22
pytest
33
pytest-cov
4-
codecov
54

65
# Benchmarking for Wigner transforms
76
so3

0 commit comments

Comments
 (0)