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
This commit is contained in:
parent
4b5b24462b
commit
b56e666dd5
6
tox.ini
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user