Skip to content

Commit bcea39b

Browse files
committed
Add GHA to build docs
1 parent c513769 commit bcea39b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: "ubuntu-latest"
3232
strategy:
3333
matrix:
34-
toxenv: ["build", "pytype"]
34+
toxenv: ["build", "pytype", "docs"]
3535
env:
3636
TOXENV: ${{ matrix.toxenv }}
3737

@@ -47,4 +47,8 @@ jobs:
4747
python -m pip install --upgrade tox
4848
- name: Run action
4949
run: |
50-
tox
50+
if [[ $TOXENV == "docs" ]]; then
51+
tox -- -j auto -bhtml -W -n -a --keep-going
52+
else
53+
tox
54+
fi

0 commit comments

Comments
 (0)