File tree Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Expand file tree Collapse file tree 4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 2
2
branch = True
3
3
omit =
4
4
*/_version.py
5
- */tests/*
5
+
6
+ [paths]
7
+ source =
8
+ pydra/tasks
9
+ /**/pydra/tasks
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ name: Python package
7
7
env :
8
8
SUBPACKAGE : nipype1
9
9
FSLCONDA : https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/public/
10
+ NO_ET : 1 # etelemetry causes order-of-magnitude slowdowns
10
11
11
12
on :
12
13
push :
86
87
python -c "import pydra as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
87
88
- name : Test with pytest
88
89
run : |
89
- pytest -sv --doctest-modules pydra/ tasks/ $SUBPACKAGE \
90
- --cov pydra.tasks.$SUBPACKAGE --cov-report xml
90
+ pytest -sv --doctest-modules --pyargs pydra. tasks. $SUBPACKAGE \
91
+ --cov pydra.tasks.$SUBPACKAGE --cov-report xml --cov-report term-missing
91
92
- uses : codecov/codecov-action@v4
92
93
if : ${{ always() }}
93
94
with :
Original file line number Diff line number Diff line change 1
1
coverage :
2
2
range : " 50...100"
3
3
ignore : # files and folders that will be removed during processing
4
- - " **/tests"
5
4
- " **/_version.py"
6
- - " setup.py"
7
- - " versioneer.py"
8
5
status :
9
6
project :
10
7
default :
Original file line number Diff line number Diff line change 5
5
6
6
try :
7
7
from ._version import __version__
8
- except ImportError :
9
- pass
8
+ except ImportError : # pragma: no cover
9
+ __version__ = "0+unknown"
10
10
11
11
from .utils import Nipype1Task
12
12
You can’t perform that action at this time.
0 commit comments