diff options
author | Manuel Buil <mbuil@suse.com> | 2018-06-26 06:29:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-06-26 06:29:45 +0000 |
commit | 60e21cbdbe94e32060369304b0502fe5b03af2c4 (patch) | |
tree | 37551455661d8a0d7f722a19a7662a5509d541a9 | |
parent | 3e0ba9638fd98d43f3b2f632351c2edb556d03af (diff) | |
parent | 444a89ffc0ea4e67d16ef1378698b92232d50516 (diff) |
Merge "Move the yamllint check to tox"
-rw-r--r-- | test-requirements.txt | 1 | ||||
-rw-r--r-- | tox.ini | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index 66d1b33a..f435e104 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,3 +4,4 @@ coverage!=4.4,>=4.0 # Apache-2.0 mock>=2.0.0 # BSD nose>=1.3.7 # LGPL +yamllint @@ -1,5 +1,5 @@ [tox] -envlist = docs,docs-linkcheck,py27 +envlist = docs,docs-linkcheck,py27,yamllint skipsdist = True [testenv] @@ -33,3 +33,11 @@ commands = nosetests --with-xunit \ --cover-xml \ --cover-html \ sfc/unit_tests/unit + +[testenv:yamllint] +basepython = python2.7 +files = + docs + sfc/tests/functest +commands = + yamllint -s {[testenv:yamllint]files} |