Skip to content

add docs test workflow #6

add docs test workflow

add docs test workflow #6

Workflow file for this run

name: test sphinx docs
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
cache-dependency-path: pyproject.toml
- name: Setup environment
run: |
python -m pip install --upgrade pip
pip install ".[tests,dev,docs]"
- name: docs
run: |
jb build docs