Skip to content

docs: add ASPiRE Lab RK streamlines, uncertainty probing, and PDF rep… #91

docs: add ASPiRE Lab RK streamlines, uncertainty probing, and PDF rep…

docs: add ASPiRE Lab RK streamlines, uncertainty probing, and PDF rep… #91

Workflow file for this run

name: Run Tests
on:
pull_request:
branches: [master]
push:
branches: [master]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: pytest (${{ matrix.os }}, py${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.11', '3.12', '3.13', '3.14']
include:
- os: windows-latest
python-version: '3.14'
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }}
- name: Run tests
run: uv run --python ${{ matrix.python-version }} pytest -q --tb=short
docs:
name: docs build (sphinx -W)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: '3.13'
- name: Install dependencies
run: |
uv sync --python 3.13
uv pip install -r docs/requirements.txt
- name: Build docs
run: uv run --python 3.13 sphinx-build -b html -W docs/source/ docs/build/html