Skip to content

Minor cleanup

Minor cleanup #93

name: notebooks testing
on: [push, pull_request]
jobs:
test-notebooks:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
strategy:
matrix:
python-version: ['3.9']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test] tox-gh-actions
# test code *and* notebooks (tutorials and examples)
- name: Test the code, tutorials and examples
if: ${{ always() }}
run: |
tox --skip-env minimal-dependencies -- --nbval-lax --current-env