Skip to content

Commit f0ac42b

Browse files
committed
add docs check to testing
1 parent a4225f9 commit f0ac42b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,26 @@ jobs:
2929
- name: Test with tox
3030
run: poetry run tox
3131

32+
test-docs:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/[email protected]
36+
37+
- name: Setup Python
38+
uses: actions/[email protected]
39+
with:
40+
python-version: "3.13" # use latest Python version
41+
42+
- name: Install tox
43+
run: pipx install --python $(which python) tox
44+
45+
- name: Generate docs
46+
run: tox -e docs
47+
48+
- name: Check if repo docs are up to date
49+
run: |
50+
git diff --exit-code HEAD
51+
3252
test-deps:
3353

3454
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)