Skip to content

Commit f0e72c6

Browse files
committed
# Conflicts: # .github/workflows/main.yml
2 parents 502eae8 + 82465b9 commit f0e72c6

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,29 @@ jobs:
111111
VM-${{ matrix.platform }},
112112
Py-${{ steps.python-install.outputs.python-version }}
113113
114+
docs:
115+
runs-on: ubuntu-latest
116+
env:
117+
TOXENV: docs
118+
steps:
119+
- uses: actions/checkout@v3
120+
- name: Setup Python
121+
uses: actions/setup-python@v4
122+
with:
123+
python-version: ${{ matrix.python }}${{ matrix.dev }}
124+
- name: Install tox
125+
run: |
126+
python -m pip install tox
127+
- name: Run tests
128+
run: tox
129+
114130
check: # This job does nothing and is only used for the branch protection
115131
if: always()
116132

117133
needs:
118134
- integration-test
119135
- test
136+
- docs
120137
- test_cygwin
121138

122139
runs-on: ubuntu-latest

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ docs =
9393
jaraco.packaging >= 9
9494
rst.linker >= 1.9
9595
furo
96+
sphinx-lint
9697

9798
# tidelift
9899
jaraco.tidelift >= 1.4

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ extras =
4040
changedir = docs
4141
commands =
4242
python -m sphinx -W --keep-going . {toxinidir}/build/html
43+
python -m sphinxlint
4344

4445
[testenv:finalize]
4546
skip_install = True

0 commit comments

Comments
 (0)