Skip to content

Commit

Permalink
ENH: Update Notebook CI configuration
Browse files Browse the repository at this point in the history
- Latest runners
- Add Windows
- Update Actions
- Migrate from nbmake-action to nbmake pytest
  • Loading branch information
thewtex committed Dec 5, 2022
1 parent 3ab4030 commit fe56af4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test-notebooks.yml
Expand Up @@ -8,18 +8,18 @@ jobs:
strategy:
max-parallel: 3
matrix:
os: [ubuntu-22.04, macos-10.15]
os: [ubuntu-22.04, macos-12, windows-2022]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.9'
- name: Install build dependencies
run: |
python -m pip install -r ./.binder/requirements.txt
python -m pip install nbmake[html]
- uses: "treebeardtech/nbmake-action@v0.2"
with:
path: "./examples/"
path-output: .
python -m pip install pytest nbmake
- name: Test notebooks
shell: bash
run: |
pytest --nbmake --nbmake-timeout=3000 examples/*.ipynb

0 comments on commit fe56af4

Please sign in to comment.