diff options
author | Leonard Richardson <leonardr@segfault.org> | 2023-03-30 13:15:54 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2023-03-30 13:15:54 -0400 |
commit | 5821e65eda14c1da0967c5f59de608691e37a06f (patch) | |
tree | 768aa620c26b068619800b502787de69384388c9 | |
parent | 4f11e934aca7beb29a752f414669eac80f5b504d (diff) |
Added tox environments for building the docs and running tests with no dependencies installed.
-rw-r--r-- | doc/source/conf.py | 2 | ||||
-rw-r--r-- | tox.ini | 20 |
2 files changed, 12 insertions, 10 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 15e258b..c9955b4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -120,7 +120,7 @@ html_theme = 'default' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +#html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. @@ -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} - |