From 607804f2420c4e428a4d4c8b058be3761d7a83ee Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Tue, 15 Sep 2015 14:07:45 -0500 Subject: 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 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index a7823b10..bc14bda1 100644 --- a/tox.ini +++ b/tox.ini @@ -9,3 +9,6 @@ deps = -r{toxinidir}/requirements.txt [testenv:venv] commands = {posargs} + +[testenv:validate] +commands = python ./tools/yaml-validate.py . \ No newline at end of file -- cgit 1.2.3-korg