add optional rebuild #49
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
| name: Notebook Cleanliness | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - stable | |
| - v1.5.3 | |
| push: | |
| branches: | |
| - master | |
| - stable | |
| - v1.5.3 | |
| jobs: | |
| check_notebooks: | |
| name: Check notebook kernelspec/output | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Validate notebook cleanliness | |
| run: python scripts/check_notebook_kernelspec.py |