Skip to content

Commit 6d89d9d

Browse files
authored
Test with more sphinx versions (#1047)
1 parent 835b20c commit 6d89d9d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ commands:
66
parameters:
77
version:
88
type: string
9+
sphinx-version:
10+
type: string
11+
default: "16,17,18,20,21,22,23,24,30,31,32,33,34,latest"
912
steps:
1013
- checkout
1114
- run: pip install --user tox
12-
- run: tox -e "<<parameters.version>>-sphinx{16,17,18,20,21,22,23,24,30,31,32}"
15+
- run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}"
1316

1417
jobs:
1518
py27:

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{27,36,37,38,39}-sphinx{16,17,18,20,21,22,23,24,30,31,32}
2+
envlist = py{27,36,37,38,39}-sphinx{16,17,18,20,21,22,23,24,30,31,32,33,34,latest}
33

44
[testenv]
55
setev =
@@ -20,6 +20,9 @@ deps =
2020
sphinx30: Sphinx < 3.1
2121
sphinx31: Sphinx < 3.2
2222
sphinx32: Sphinx < 3.3
23+
sphinx33: Sphinx < 3.4
24+
sphinx34: Sphinx < 3.5
25+
sphinxlatest: Sphinx
2326
commands =
2427
pytest {posargs} tests/
2528
sphinx-build -b html -d {envtmpdir}/doctrees docs/ {envtmpdir}/html

0 commit comments

Comments
 (0)