Skip to content

Commit

Permalink
ENH: Add notebook CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tbirdso committed May 9, 2022
1 parent a84d225 commit e0e9a19
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test-notebooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Notebook tests

on: [push, pull_request]

jobs:
run:
runs-on: ubuntu-latest
name: Test notebooks with nbmake
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install test dependencies
run: |
python3 --version
python3 -m pip install --upgrade pip
python3 -m pip install itk-vkfft pytest nbmake
python3 -m pip list
python3 -c "import itk; itk.auto_progress(2); print(itk.VkForwardFFTImageFilter.values())"
- name: Test notebooks
run: |
pytest --nbmake --nbmake-timeout=3000 example/*ipynb

0 comments on commit e0e9a19

Please sign in to comment.