Skip to content

Commit f898fc5

Browse files
jhlegarretadzenanz
authored andcommitted
ENH: Transition to nbmake to test notebooks
Drop `treebeardtech/nbmake-action` and transition to `nbmake` to test notebooks: the former has been deprecated in favor of the latter. See: https://github.com/treebeardtech/nbmake-action Fixes: ``` Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: treebeardtech/nbmake-action@v0.2.1 ``` raised for example in: https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/runs/3879592431
1 parent ccde336 commit f898fc5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-test-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,11 @@ jobs:
247247
python -m pip install itkwidgets
248248
# Issues with 5.7.0
249249
# https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/issues/407
250-
python -m pip install traitlets==5.6.0
250+
python -m pip install traitlets==5.6.0 pytest nbmake
251251
252252
- name: Test notebooks
253-
uses: treebeardtech/nbmake-action@v0.2.1
253+
run: |
254+
pytest --nbmake --nbmake-timeout=30000
254255
255256
build-test-documentation:
256257
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)