summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2023-03-30 13:30:03 -0400
committerLeonard Richardson <leonardr@segfault.org>2023-03-30 13:30:03 -0400
commit796fcbf230f818cd1254a0dbaef7bb688b514596 (patch)
tree5356255d9ff3c291bfabf8b794cc0c27b0af3d10 /tox.ini
parent5821e65eda14c1da0967c5f59de608691e37a06f (diff)
Simplified the toxfile a bit.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 7 insertions, 10 deletions
diff --git a/tox.ini b/tox.ini
index 345a445..f793655 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,28 +2,25 @@
env_list =
py{36, 37, 38, 39, 310, 311},bare,docs
minversion = 4.4.8
+skip_missing_interpreters = true
[testenv]
-description = run the tests with all dependencies installed
package = wheel
wheel_build_env = .pkg
+description = run the tests with all dependencies installed
deps = lxml
html5lib
soupsieve>=1.2
pytest>=6
-commands =
- pytest {tty:--color=yes} {posargs}
+commands = pytest {tty:--color=yes} {posargs}
[testenv:docs]
+basepython = python3
+description = build the documentation
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
-deps =
- pytest>=6
-commands =
- pytest {tty:--color=yes} {posargs}
+basepython = python3.6
+deps = pytest>=6