Add basic XML checking

Change-Id: Ieb4e55d529a50667b87942a119ceae4689dd3ac1
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
Dean Troyer 2018-07-05 15:56:06 -05:00
parent 5d18720514
commit 4bbc31070a
1 changed files with 6 additions and 3 deletions

View File

@ -19,6 +19,9 @@ commands =
\( -name .tox -prune \) \
-o -type f -name '*.yaml' \
-print0 | xargs -0 yamllint"
bash -c "find {toxinidir} \
-type f -name '*.xml' \
-print0 | xargs -0 xmllint --noout"
[testenv:venv]
commands = {posargs}