summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-03-16 11:03:56 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2020-03-16 11:05:26 +0100
commit0097342b46d1ec890c6133adf252a0e55661ade2 (patch)
tree65b0085588fd1aac8c3850a155743a5398721e2a
parent005dc349ac340cb236e8845e39ff840e017ffa75 (diff)
Add yamllint in gates
It verified the yaml files. Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I3901d92ec9c297e3fc025f9b1c42768151f65a42
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini10
2 files changed, 10 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index c3954be..4c273f6 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1 +1,2 @@
flake8 # MIT
+yamllint
diff --git a/tox.ini b/tox.ini
index 4b84955..1071f78 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = pep8
+envlist = pep8,yamllint
skipsdist = true
[testenv]
@@ -10,3 +10,11 @@ deps =
[testenv:pep8]
basepython = python3
commands = flake8
+
+[testenv:yamllint]
+basepython = python3
+files =
+ INFO.yaml
+ tools
+commands =
+ yamllint -s {[testenv:yamllint]files}