Skip to content

Commit dc12a87

Browse files
committed
Add Codecov steps to GitHub Actions.
1 parent c4127f9 commit dc12a87

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/python-package-macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ jobs:
3636
delocate-listdeps --all dist/*.whl
3737
- name: Test with pytest
3838
run: |
39-
pytest --no-window
39+
pytest --no-window --cov-report=xml
40+
- uses: codecov/codecov-action@v1
4041
- name: Upload to PyPI
4142
if: startsWith(github.ref, 'refs/tags/') # Only run on tags.
4243
env:

.github/workflows/python-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ jobs:
5555
uses: GabrielBB/xvfb-action@v1
5656
with:
5757
run: |
58-
pytest
58+
pytest --cov-report=xml
59+
- uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)