Skip to content

Commit c060892

Browse files
committed
ENH: Add itk examples to notebook CI tests
1 parent a2061e7 commit c060892

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/notebook-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
python3 -m pip install -e ".[test]"
2929
python3 -m pip install pyimagej
3030
python3 -c "import imagej; ij = imagej.init('2.5.0'); print(ij.getVersion())"
31+
python3 -m pip install --upgrade --pre itk
3132
3233
- name: Test notebooks
3334
run: |
34-
pytest --nbmake --nbmake-timeout=3000 examples/*.ipynb examples/integrations/dask/*.ipynb
35+
pytest --nbmake --nbmake-timeout=3000 examples/*.ipynb examples/integrations/dask/*.ipynb examples/integrations/itk/*.ipynb

examples/integrations/dask/DaskArray.ipynb

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@
8282
},
8383
{
8484
"data": {
85-
"application/javascript": "window.connectPlugin && window.connectPlugin(\"f73b9611-a293-4994-8215-809777c33496\")",
85+
"application/javascript": [
86+
"window.connectPlugin && window.connectPlugin(\"f73b9611-a293-4994-8215-809777c33496\")"
87+
],
8688
"text/plain": [
8789
"<IPython.core.display.Javascript object>"
8890
]
@@ -288,7 +290,9 @@
288290
},
289291
{
290292
"data": {
291-
"application/javascript": "window.connectPlugin && window.connectPlugin(\"f73b9611-a293-4994-8215-809777c33496\")",
293+
"application/javascript": [
294+
"window.connectPlugin && window.connectPlugin(\"f73b9611-a293-4994-8215-809777c33496\")"
295+
],
292296
"text/plain": [
293297
"<IPython.core.display.Javascript object>"
294298
]
@@ -340,7 +344,7 @@
340344
"name": "python",
341345
"nbconvert_exporter": "python",
342346
"pygments_lexer": "ipython3",
343-
"version": "3.10.6"
347+
"version": "3.9.13"
344348
}
345349
},
346350
"nbformat": 4,

0 commit comments

Comments
 (0)