From 5821e65eda14c1da0967c5f59de608691e37a06f Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Thu, 30 Mar 2023 13:15:54 -0400 Subject: Added tox environments for building the docs and running tests with no dependencies installed. --- tox.ini | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'tox.ini') 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} - -- cgit v1.2.3