aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2016-11-07 07:59:03 -0500
committerDan Prince <dprince@redhat.com>2016-11-30 21:14:52 -0500
commitb56e666dd5a60871ac8112dfaabe313761929d0c (patch)
tree3d2e794b1e5ff67cdc164c80bf5c8bf25adc75aa
parent4b5b24462b7c37bd784502d8afa341181a9fab9a (diff)
Make pep8 task run template generation
This patch updates the pep8 task (which is executed in CI) so that it generates templates locally. This will give us extra CI coverage to ensure our generated templates produce valid YAML. Change-Id: I2287802d44c0ebe404d3fce30f04efcc3c6ab27f
-rw-r--r--tox.ini6
1 files changed, 4 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 21e9f406..c8a912b8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,9 @@ deps = -r{toxinidir}/requirements.txt
commands = {posargs}
[testenv:pep8]
-commands = python ./tools/yaml-validate.py .
+commands =
+ python ./tools/process-templates.py
+ python ./tools/yaml-validate.py .
[testenv:templates]
-commands = python ./tools/process-templates.py .
+commands = python ./tools/process-templates.py