-
Notifications
You must be signed in to change notification settings - Fork 21
37 lines (28 loc) · 780 Bytes
/
doc.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
name: doc
on:
pull_request:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
python: 3.12
jobs:
check-doc:
name: "Check documentation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.python }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install requirements
run: pip install -r requirements.txt -r requirements-dev.txt -r docs/requirements.txt
- name: Make docs
run: make -C docs html SPHINXOPTS="--fail-on-warning"