Skip to content

Fix release workflow (#21) #26

Fix release workflow (#21)

Fix release workflow (#21) #26

name: Test Tutorials
on:
push:
branches:
- main
- devel
pull_request:
branches:
- main
- devel
jobs:
tutorials:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up uv and Python ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install project
run: |
uv sync --extra docs
uv run python -m ipykernel install --user --name python3
- name: Execute tutorials
run: uv run python docs/tools/notebooks.py execute --force