File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 6
6
run :
7
7
runs-on : ubuntu-latest
8
8
name : Test notebooks with nbmake
9
+ strategy :
10
+ matrix :
11
+ python-version : ['3.7', '3.8', '3.9', '3.10']
9
12
steps :
10
13
- uses : actions/checkout@v3
11
14
12
- - uses : actions/setup-python@v3
15
+ - name : Set up Python ${{ matrix.python-version }}
16
+ uses : actions/setup-python@v3
13
17
with :
14
- python-version : ' 3.7'
18
+ python-version : ${{ matrix.python-version }}
19
+
15
20
- uses : actions/setup-java@v3
16
21
with :
17
22
java-version : ' 8'
18
23
distribution : ' zulu'
24
+
19
25
- name : Install test dependencies
20
26
run : |
21
27
python3 -m pip install --upgrade pip
22
28
python3 -m pip install -e ".[test]"
23
29
python3 -m pip install pyimagej
24
30
python3 -c "import imagej; ij = imagej.init('2.5.0'); print(ij.getVersion())"
31
+
25
32
- name : Test notebooks
26
33
run : |
27
34
pytest --nbmake --nbmake-timeout=3000 examples/*.ipynb examples/integrations/dask/*.ipynb
You can’t perform that action at this time.
0 commit comments