Skip to content

Commit 7b413d3

Browse files
committed
Use docs/requirements.txt for documentation build dependencies in CI
1 parent 53f101c commit 7b413d3

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,22 @@ jobs:
6161
- name: run django tests
6262
run: tox -e ${{ matrix.tox }}
6363

64+
docs:
65+
name: "docs"
66+
runs-on: ubuntu-latest
67+
steps:
68+
- uses: actions/checkout@v4
69+
- uses: actions/setup-python@v5
70+
with:
71+
python-version: '3.12'
72+
cache: pip
73+
- name: install dependencies
74+
run: |
75+
pip install -e .
76+
pip install sphinx -r docs/requirements.txt
77+
- name: build docs
78+
run: sphinx-build -W -b html docs docs/_build/html
79+
6480
typecheck:
6581
name: "typecheck"
6682
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)