Specific Nova part of the Blazar Reservation Service for OpenStack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

envlist = py38,py39,pep8
minversion = 3.1.1
skipsdist = True
ignore_basepython_conflict = True
basepython = python3
usedevelop = True
install_command = {toxinidir}/tools/tox_install.sh {env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
deps =
setenv = VIRTUAL_ENV={envdir}
commands =
stestr run --slowest {posargs}
sitepackages = False
basepython = python3
setenv =
PYTHON=coverage run --source blazarnova --parallel-mode
commands =
stestr run '{posargs}'
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
commands = flake8 {posargs}
commands = {posargs}
show-source = true
builtins = _
exclude = .venv,.git,.tmp,.tox,dist,doc,*lib/python*,*egg,tools
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html