OpenStack Orchestration (Heat)
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.

69 lines
2.0 KiB

envlist = py27,pep8
minversion = 1.6
skipsdist = True
# Note the hash seed is set to 0 until heat can be tested with a
# random hash seed successfully.
setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
commands =
find {toxinidir} -not -path '{toxinidir}/.tox/*' -name '*.pyc' -delete
python testr --slowest --testr-args='^(?!heat_integrationtests){posargs}'
whitelist_externals =
commands =
find . -type f -name "*.pyc" -delete
bash tools/ '{posargs}'
setenv = VIRTUAL_ENV={envdir}
usedevelop = False
deps = -r{toxinidir}/heat_integrationtests/requirements.txt
commands =
bash tools/ '--concurrency=1 ^heat_integrationtests.*{posargs}'
commands =
flake8 heat bin/heat-api bin/heat-api-cfn bin/heat-api-cloudwatch bin/heat-engine bin/heat-manage contrib heat_integrationtests
# Check that .po and .pot files are valid:
bash -c "find heat -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
commands = {posargs}
commands =
python testr --coverage --testr-args='^(?!heat_integrationtests){posargs}'
deps = -r{toxinidir}/requirements.txt
commands = python build_sphinx
commands =
oslo-config-generator --config-file=config-generator.conf
oslo-config-generator --config-file=heat_integrationtests/config-generator.conf
# H404 multi line docstring should start with a summary
# H405 multi line docstring summary not separated with an empty line
ignore = H404,H405
show-source = true
import_exceptions = heat.common.i18n