Merge "Dell SC: Add secondary DSM support"
[apex-tripleo-heat-templates.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 5d09e0a..b92e545 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -4,6 +4,7 @@ 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
 
@@ -11,4 +12,13 @@ deps = -r{toxinidir}/requirements.txt
 commands = {posargs}
 
 [testenv:pep8]
-commands = python ./tools/yaml-validate.py .
+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