X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=5d09e0a47576e15f8549dd8e5018346dbb9f4ae8;hb=fcafc264a573e7600c4dbe477f25f5caf7154f36;hp=974971f6ec527788fa484bd643ddbcbaf78f4c43;hpb=949b6d1cc247a66869c627a504436f1642481667;p=apex-tripleo-heat-templates.git diff --git a/tox.ini b/tox.ini index 974971f6..b92e5456 100644 --- a/tox.ini +++ b/tox.ini @@ -4,11 +4,21 @@ skipsdist = True [testenv] usedevelop = True +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt [testenv:venv] commands = {posargs} -[testenv:linters] -commands = python ./tools/yaml-validate.py . +[testenv:pep8] +commands = + python ./tools/process-templates.py + python ./network/endpoints/build_endpoint_map.py --check + python ./tools/yaml-validate.py . + +[testenv:templates] +commands = python ./tools/process-templates.py + +[testenv:releasenotes] +commands = bash -c tools/releasenotes_tox.sh