diff --git a/tox.ini b/tox.ini index 541142f..70d372b 100644 --- a/tox.ini +++ b/tox.ini @@ -14,31 +14,13 @@ setenv = PYTHONDONTWRITEBYTECODE=1 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY [testenv:venv] -# NOTE(amrith) The setting of the install_command in this location -# is only required because currently infra does not actually -# support constraints files for the environment job, and while -# the environment variable UPPER_CONSTRAINTS_FILE is set, there's -# no file there. It can be removed when infra changes this. -install_command = pip install -U {opts} {packages} commands = {posargs} [testenv:releasenotes] -# NOTE(amrith) The setting of the install_command in this location -# is only required because currently infra does not actually -# support constraints files for the release notes job, and while -# the environment variable UPPER_CONSTRAINTS_FILE is set, there's -# no file there. It can be removed when infra changes this. -install_command = pip install -U {opts} {packages} envdir = {toxworkdir}/venv commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:cover] -# NOTE(amrith) The setting of the install_command in this location -# is only required because currently infra does not actually -# support constraints files for the cover job, and while -# the environment variable UPPER_CONSTRAINTS_FILE is set, there's -# no file there. It can be removed when infra changes this. -install_command = pip install -U {opts} {packages} commands = coverage run --branch --include "ironic_inspector*" -m unittest discover ironic_inspector.test.unit coverage report -m