From 796fcbf230f818cd1254a0dbaef7bb688b514596 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Thu, 30 Mar 2023 13:30:03 -0400 Subject: Simplified the toxfile a bit. --- tox.ini | 17 +++++++---------- 1 file 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 -- cgit v1.2.3