File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
name : Python package
5
5
6
+ # Set once
7
+ env :
8
+ SUBPACKAGE : TODO
9
+
6
10
on :
7
11
push :
8
12
branches : [ master ]
11
15
12
16
jobs :
13
17
build :
14
-
15
18
runs-on : ubuntu-latest
16
19
strategy :
17
20
matrix :
37
40
- name : Install task package
38
41
run : |
39
42
pip install ${{ matrix.pip-flags }} ".[dev]"
40
- python -c "import pydra.tasks.TODO as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
43
+ python -c "import pydra.tasks.$SUBPACKAGE as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
41
44
python -c "import pydra as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
42
45
- name : Test with pytest
43
46
run : |
44
- pytest -sv --doctest-modules pydra/tasks/TODO
47
+ pytest -sv --doctest-modules pydra/tasks/$SUBPACKAGE
You can’t perform that action at this time.
0 commit comments