mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
8f979719a0
Replace all poe task runner usage with direct pytest/sphinx/ruff commands. Remove poethepoet dependency and [tool.poe.tasks] config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
46 lines
981 B
YAML
46 lines
981 B
YAML
name: "Documentation"
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request: ~
|
|
workflow_dispatch:
|
|
|
|
# Cancel redundant in-progress jobs.
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
|
|
documentation:
|
|
name: "Documentation"
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
UV_SYSTEM_PYTHON: true
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- name: Set up uv
|
|
uses: astral-sh/setup-uv@v5
|
|
with:
|
|
version: "latest"
|
|
enable-cache: true
|
|
cache-dependency-glob: |
|
|
pyproject.toml
|
|
|
|
- name: Install package and documentation dependencies
|
|
run: uv pip install '.[docs]'
|
|
|
|
- name: Run link checker
|
|
run: sphinx-build -W --keep-going -b linkcheck docs/source docs/build
|
|
|
|
- name: Build static HTML documentation
|
|
run: sphinx-build -W --keep-going docs/source docs/build
|