Merge pull request #97 from the-virtual-brain/EBR-156 #281
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: Test Notebooks | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| build: | |
| name: Run notebooks | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| # env: | |
| # ACTIONS_RUNNER_DEBUG: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.13 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libgl1 xvfb | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e . | |
| python -m pip install nbformat nbconvert | |
| - name: Clean ~/.mne directory for Dicom widget | |
| run: rm -rf /home/runner/.mne | |
| - name: Run notebooks | |
| run: xvfb-run -a python ./dev/notebook_runner.py notebooks |