Skip to content

Test documentation notebooks #105

Test documentation notebooks

Test documentation notebooks #105

name: Test documentation notebooks
on:
schedule:
- cron: '15 6 * * 1'
workflow_dispatch:
workflow: "*"
env:
MPLBACKEND: agg
jobs:
test-documentation-notebooks:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
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