-
-
Notifications
You must be signed in to change notification settings - Fork 27
29 lines (23 loc) · 723 Bytes
/
docs-ci.yml
File metadata and controls
29 lines (23 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CI Documentation
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install uv and set up Python
uses: astral-sh/setup-uv@22695119d769bdb6f7032ad67b9bca0ef8c4a174 # v5.4.0
with:
version: "latest"
pyproject-file: "pyrpoject.toml"
enable-cache: true
- name: Install Dependencies
run: |
uv sync --all-groups
- name: Check Sphinx Documentation build minimally
working-directory: ./docs
run: |
uv run sphinx-build -E -W source build
- name: Check for documentation style errors
run: |
uv run hatch run validate-docs