Skip to content

Commit

Permalink
Test with more sphinx versions (#1047)
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Feb 11, 2021
1 parent 835b20c commit 6d89d9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ commands:
parameters:
version:
type: string
sphinx-version:
type: string
default: "16,17,18,20,21,22,23,24,30,31,32,33,34,latest"
steps:
- checkout
- run: pip install --user tox
- run: tox -e "<<parameters.version>>-sphinx{16,17,18,20,21,22,23,24,30,31,32}"
- run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}"

jobs:
py27:
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{27,36,37,38,39}-sphinx{16,17,18,20,21,22,23,24,30,31,32}
envlist = py{27,36,37,38,39}-sphinx{16,17,18,20,21,22,23,24,30,31,32,33,34,latest}

[testenv]
setev =
Expand All @@ -20,6 +20,9 @@ deps =
sphinx30: Sphinx < 3.1
sphinx31: Sphinx < 3.2
sphinx32: Sphinx < 3.3
sphinx33: Sphinx < 3.4
sphinx34: Sphinx < 3.5
sphinxlatest: Sphinx
commands =
pytest {posargs} tests/
sphinx-build -b html -d {envtmpdir}/doctrees docs/ {envtmpdir}/html

0 comments on commit 6d89d9d

Please sign in to comment.