Package for testing OpenStack release tools.
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.

49 lines
1.3 KiB

minversion = 2.0
distribute = False
envlist = py3,pep8
basepython = python3
deps =
commands =
python test --coverage --coverage-package-name=oslo_config --slowest {posargs}
coverage report --show-missing
commands = flake8 {posargs}
commands = {posargs}
setenv =
PYTHON=coverage run --source release_test --parallel-mode
commands =
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
deps = -c{env:TOX_CONSTRAINTS_FILE:}
commands = sphinx-build -W -b html doc/source doc/build/html
commands = oslo_debug_helper {posargs}
deps = {[testenv:docs]deps}
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
builtins = _