-
Notifications
You must be signed in to change notification settings - Fork 43
45 lines (35 loc) · 983 Bytes
/
docs.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Documentation
on:
push:
pull_request:
env:
UV_SYSTEM_PYTHON: 1
jobs:
run:
runs-on: ubuntu-latest
env:
DJANGO_CA_SECRET_KEY: dummy
steps:
- name: Acquire sources
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
# Python 3.13 currently fails
python-version: "3.12"
architecture: x64
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: "requirements.txt"
- name: Update setuptools/wheel
run: uv pip install -U setuptools wheel
- name: Install dependencies
run: uv pip install -r requirements.txt -r requirements/requirements-docs.txt
- name: doc8 style checks
run: doc8 docs/source/
- name: Generate documentation
run: make -C docs html
- name: Spelling
run: make -C docs spelling