Skip to content

Commit 747e081

Browse files
committed
2 parents 7662a60 + 82465b9 commit 747e081

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.github/workflows/main.yml

+17
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,28 @@ jobs:
8080
- name: Run tests
8181
run: tox
8282

83+
docs:
84+
runs-on: ubuntu-latest
85+
env:
86+
TOXENV: docs
87+
steps:
88+
- uses: actions/checkout@v3
89+
- name: Setup Python
90+
uses: actions/setup-python@v4
91+
with:
92+
python-version: ${{ matrix.python }}${{ matrix.dev }}
93+
- name: Install tox
94+
run: |
95+
python -m pip install tox
96+
- name: Run tests
97+
run: tox
98+
8399
check: # This job does nothing and is only used for the branch protection
84100
if: always()
85101

86102
needs:
87103
- test
104+
- docs
88105

89106
runs-on: ubuntu-latest
90107

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ docs =
6060
jaraco.packaging >= 9
6161
rst.linker >= 1.9
6262
furo
63+
sphinx-lint
6364
jaraco.tidelift >= 1.4
6465

6566
# local

tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ extras =
2323
changedir = docs
2424
commands =
2525
python -m sphinx -W --keep-going . {toxinidir}/build/html
26+
python -m sphinxlint
2627

2728
[testenv:diffcov]
2829
deps =

0 commit comments

Comments
 (0)