path: root/tox.ini
diff options
authorBen Nemec <bnemec@redhat.com>2015-09-15 14:07:45 -0500
committerBen Nemec <bnemec@redhat.com>2015-09-15 15:31:43 -0500
commit607804f2420c4e428a4d4c8b058be3761d7a83ee (patch)
tree367ba299835975288ce839dce584850e56ffbfda /tox.ini
parentdca894b410d63c67ab6e3ee2814a985a43274b82 (diff)
Add YAML sanity check
Adds a "validate" tox env for basic sanity checking of templates. Currently it just validates that all of the .yaml files are in fact valid YAML. In the future we might want to add more, but this seemed like a reasonable start. Change-Id: I8091bbad0003b150e23dae5de4f465053c982229
Diffstat (limited to 'tox.ini')
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index a7823b1..bc14bda 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,3 +9,6 @@ deps = -r{toxinidir}/requirements.txt
commands = {posargs}
+commands = python ./tools/yaml-validate.py . \ No newline at end of file