Skip to content

Commit 8fb7ff5

Browse files
committed
CI: Add coverage
1 parent ed9411a commit 8fb7ff5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ jobs:
6969
python -c "import pydra as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
7070
- name: Test with pytest
7171
run: |
72-
pytest -sv --doctest-modules pydra/tasks/$SUBPACKAGE
72+
pytest -sv --doctest-modules pydra/tasks/$SUBPACKAGE \
73+
--cov pydra.tasks.$SUBPACKAGE --cov-report xml
74+
- uses: codecov/codecov-action@v1
75+
if: ${{ always() }}
76+
7377

7478
deploy:
7579
needs: [devcheck, test]

0 commit comments

Comments
 (0)