aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-12-04 20:01:22 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2017-12-04 20:04:51 +0100
commit90b8e7922a42defb3e571a0a8e81306e9abc0fe3 (patch)
tree44dade18355e5420c0d2a98e47a206c069e980aa /tox.ini
parent462b1f77176092d2ea075f32bf60d06920c87240 (diff)
Create a tox env to check yaml files
It also fixes all testcases config files. Change-Id: I81a6ffb8b7acf4239c79129dc842e283d3d32b35 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ea87583e8..7299a1d33 100644
--- a/tox.ini
+++ b/tox.ini
@@ -42,6 +42,20 @@ commands =
tee pylint.out | sed -ne '/Raw metrics/,//p'"
pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules}
+[testenv:yamllint]
+basepython = python2.7
+files =
+ docker/components/testcases.yaml
+ docker/healthcheck/testcases.yaml
+ docker/smoke/testcases.yaml
+ docker/parser/testcases.yaml
+ docker/features/testcases.yaml
+ docker/vnf/testcases.yaml
+ functest/ci/testcases.yaml
+commands =
+ yamllint {[testenv:yamllint]files}
+ - yamllint functest
+
[testenv:py35]
dirs =
functest/tests/unit/core