This repository was archived by the owner on May 14, 2026. It is now read-only.
Better match #73
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # .github/workflows/test_notebooks.yml | |
| name: Test Notebooks | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test-notebooks: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.12'] | |
| 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: | | |
| sudo apt-get update | |
| python -m pip install --upgrade pip | |
| pip install virtualenv | |
| python -m virtualenv venv | |
| source venv/bin/activate | |
| pip install -r requirements-dev.txt | |
| pip install . | |
| - name: Install notebook testing tools | |
| run: | | |
| source venv/bin/activate | |
| pip install jupytext treon | |
| - name: Run notebook tests | |
| run: | | |
| source venv/bin/activate | |
| bash scripts/test_documentation.sh |