Skip to content

Commit e0f3907

Browse files
committed
Use codecov instead of coveralls
1 parent 17bfdc6 commit e0f3907

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/hiperseis_main_ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ jobs:
4242
sudo apt-get install openmpi-bin libopenmpi-dev
4343
sudo apt-get install libhdf5-dev
4444
pip install -r tests/requirements.txt
45-
coverage run -m pytest ./tests
46-
coverage xml
47-
- name: Coveralls GitHub Action
48-
uses: coverallsapp/github-action@main
45+
pytest --cov --cov-branch --cov-report=xml
46+
- name: Upload coverage reports to Codecov
47+
uses: codecov/codecov-action@main
4948
with:
50-
format: cobertura
49+
token: ${{ secrets.CODECOV_TOKEN }}

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pytest
2-
coveralls
2+
pytest-cov
33
coverage
44
requests_mock
55
pyyaml

0 commit comments

Comments
 (0)