diff --git a/tox.ini b/tox.ini index fff1be2f..99b103b5 100644 --- a/tox.ini +++ b/tox.ini @@ -15,12 +15,12 @@ python = 3.12: py312, slotscheck -; [testenv] -; deps = -; -r{toxinidir}/requirements.txt -; -; commands = -; python -m pytest +[testenv] +deps = + -r{toxinidir}/requirements.txt + +commands = + python -m pytest [testenv:slotscheck] @@ -29,23 +29,21 @@ deps = slotscheck change_dir = {toxinidir}/src commands = - python -m slotscheck HABApp + python -m slotscheck HABApp --verbose -# Environment variable CI from github actions -pass_env = CI +[testenv:docs] +description = invoke sphinx-build to build the HTML docs +deps = + {[testenv]deps} + -r{toxinidir}/docs/requirements.txt -; [testenv:docs] -; description = invoke sphinx-build to build the HTML docs -; -; deps = -; {[testenv]deps} -; -r{toxinidir}/docs/requirements.txt -; -; commands = -; sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" --color -bhtml {posargs} +commands = + sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" --color -bhtml {posargs} +# Environment variable CI from github actions +pass_env = CI [pytest]