Skip to content

Commit 57c07e5

Browse files
authored
Merge pull request #213 from astro-informatics/mmg/update-codecov-action
Use codecov-action in place of manual upload
2 parents f6e10a0 + 977e104 commit 57c07e5

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
@@ -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 }}

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ plotting = [
7373
tests = [
7474
"pytest",
7575
"pytest-cov",
76-
"codecov",
7776
"so3",
7877
]
7978

0 commit comments

Comments
 (0)