Skip to content

Weekly Docs Build

Weekly Docs Build #26

Workflow file for this run

name: Weekly Docs Build
on:
schedule:
- cron: '0 8 * * 1'
workflow_dispatch:
concurrency:
group: weekly-docs-${{ github.ref }}
cancel-in-progress: true
jobs:
docs:
name: Docs build (${{ matrix.os }}, python ${{ matrix.python-version }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-2025-vs2026, macos-26]
python-version: ["3.12", "3.13", "3.14"]
timeout-minutes: 30
steps:
- name: Checkout repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[docs]
- name: Build docs (warnings as errors)
run: |
make -C docs clean
make -C docs html SPHINXOPTS="-W --keep-going"
- name: Upload docs artifacts on failure
if: failure()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: docs-${{ matrix.os }}-py${{ matrix.python-version }}-failure
path: |
docs/_build/**