Skip to content

Commit f6b4f12

Browse files
committed
Auto-generate code coverage report
1 parent 8aa1409 commit f6b4f12

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
pip install -r requirements-dev.txt
3636
- name: Test with pytest
3737
run: |
38-
pytest tests
39-
# - name: Upload coverage to Codecov
40-
# uses: codecov/codecov-action@v1
41-
# with:
42-
# token: ${{ secrets.CODECOV_TOKEN }}
43-
# file: ./coverage.xml
38+
pytest tests --cov=pysensors --cov-report=xml
39+
- name: Upload coverage to Codecov
40+
uses: codecov/codecov-action@v1
41+
with:
42+
token: ${{ secrets.CODECOV_TOKEN }}
43+
file: ./coverage.xml
4444
- name: Execute feature notebook with papermill
4545
run: |
4646
pip install papermill

0 commit comments

Comments
 (0)