summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2023-03-30 13:15:54 -0400
committerLeonard Richardson <leonardr@segfault.org>2023-03-30 13:15:54 -0400
commit5821e65eda14c1da0967c5f59de608691e37a06f (patch)
tree768aa620c26b068619800b502787de69384388c9 /tox.ini
parent4f11e934aca7beb29a752f414669eac80f5b504d (diff)
Added tox environments for building the docs and running tests with no dependencies installed.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini20
1 files changed, 11 insertions, 9 deletions
diff --git a/tox.ini b/tox.ini
index 50a12cb..345a445 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,22 +1,25 @@
[tox]
env_list =
- py{36, 37, 38, 39, 310, 311}
+ py{36, 37, 38, 39, 310, 311},bare,docs
minversion = 4.4.8
[testenv]
description = run the tests with all dependencies installed
package = wheel
wheel_build_env = .pkg
-deps =
- lxml
- html5lib
- soupsieve>=1.2
- pytest>=6
+deps = lxml
+ html5lib
+ soupsieve>=1.2
+ pytest>=6
commands =
pytest {tty:--color=yes} {posargs}
-[testenv:oldpy]
-description = run the tests on a very old version of Python without any dependencies installed
+[testenv:docs]
+deps = sphinx
+commands = sphinx-build -b html doc/source doc/build/html
+
+[testenv:bare]
+description = run the tests on the oldest supported version of Python, without any dependencies installed
basepython = py36
package = wheel
wheel_build_env = .pkg
@@ -24,4 +27,3 @@ deps =
pytest>=6
commands =
pytest {tty:--color=yes} {posargs}
-