-
-
Notifications
You must be signed in to change notification settings - Fork 160
28 lines (24 loc) · 661 Bytes
/
Copy pathdocs.yml
File metadata and controls
28 lines (24 loc) · 661 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
on: [push, pull_request]
name: build-docs
jobs:
tests:
name: Build docs
runs-on: ubuntu-22.04
strategy:
matrix:
python-version:
- "3.7"
- "3.12"
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install sphinx
run: uv sync --python ${{ matrix.python-version }} --group docs
- name: Install package
run: uv pip install --python ${{ matrix.python-version }} -e .
- name: Build docs
run: cd docs && make html