Skip to content

Test documentation notebooks #145

Test documentation notebooks

Test documentation notebooks #145

name: Test documentation notebooks
on:
schedule:
- cron: '15 6 * * 1'
workflow_dispatch:
env:
MPLBACKEND: agg
jobs:
test-documentation-notebooks:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install package and dependencies
shell: bash
run: |
pip install -U -e .'[doc,tests,all]'
pip install -U nbval pyopencl
- name: Display Python, pip and package versions
run: |
python -V
pip -V
pip list
- name: Test documentation notebooks
run: |
./doc/tutorials/run_nbval.sh