File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 6
6
7
7
name : Python package
8
8
9
- # Set once
10
- env :
11
- SUBPACKAGE : CHANGEME
12
-
13
9
on :
14
10
push :
15
11
branches : [ main ]
44
40
- name : Install task package
45
41
run : |
46
42
pip install ${{ matrix.pip-flags }} ".[dev]"
47
- python -c "import pydra.tasks.$SUBPACKAGE as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
43
+ python -c "import pydra.tasks.CHANGEME as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
48
44
python -c "import pydra as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
49
45
50
46
test :
@@ -65,12 +61,12 @@ jobs:
65
61
- name : Install task package
66
62
run : |
67
63
pip install ".[test]"
68
- python -c "import pydra.tasks.$SUBPACKAGE as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
64
+ python -c "import pydra.tasks.CHANGEME as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
69
65
python -c "import pydra as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
70
66
- name : Test with pytest
71
67
run : |
72
- pytest -sv --doctest-modules pydra/tasks/$SUBPACKAGE \
73
- --cov pydra.tasks.$SUBPACKAGE --cov-report xml
68
+ pytest -sv --doctest-modules pydra/tasks/CHANGEME \
69
+ --cov pydra.tasks.CHANGEME --cov-report xml
74
70
- uses : codecov/codecov-action@v3
75
71
if : ${{ always() }}
76
72
You can’t perform that action at this time.
0 commit comments