Skip to content

Commit e89fa11

Browse files
committed
CI: Update pytest invocation to get test coverage
1 parent 374bc1e commit e89fa11

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
branch = True
33
omit =
44
*/_version.py
5+
6+
[paths]
7+
source =
8+
pydra/tasks
9+
/**/pydra/tasks

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Test with pytest
8989
run: |
9090
pytest -sv --doctest-modules pydra/tasks/$SUBPACKAGE \
91-
--cov pydra.tasks.$SUBPACKAGE --cov-report xml
91+
--cov pydra.tasks.$SUBPACKAGE --cov-report xml --cov-report term-missing
9292
- uses: codecov/codecov-action@v4
9393
if: ${{ always() }}
9494
with:

0 commit comments

Comments
 (0)