X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=4b37077f05fb52e7b8e14d3ce374e0d60304a2db;hb=39ab5b6cab5d6c664dc96bbb92781a9eed0aa41d;hp=60f1fac4a122b2d43b8fab2e8533577a75f4a522;hpb=a4990a60c9b8e499e698fab28f9368816e50c6f7;p=functest.git diff --git a/tox.ini b/tox.ini index 60f1fac4a..4b37077f0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = docs,pep8,pylint,yamllint,bashate,py36,py27,perm,cover +envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,perm,cover [testenv] usedevelop = True @@ -15,7 +15,6 @@ commands = nosetests --with-xunit \ --cover-package=functest \ --cover-xml \ --cover-html \ - --with-html-output \ functest/tests/unit [testenv:docs] @@ -28,9 +27,9 @@ commands = api \ docs sphinx-build -W -b html api/ api/build - sphinx-build -W -n -b html -c docs/rtd docs docs/build/html + sphinx-build -W -n -b html docs docs/build/html sphinx-build -W -n -b linkcheck docs docs/_build/linkcheck - sphinx-build -W -n -b html docs docs/_build/html + sphinx-build -W -n -b html -c docs/lfreleng docs docs/_build/html [testenv:pep8] basepython = python2.7 @@ -77,14 +76,21 @@ commands = basepython = python2.7 files = .travis.yml - ci docker functest/ci + functest/opnfv_tests/openstack/rally/blacklist.yaml functest/opnfv_tests/openstack/rally/rally_jobs.yaml + functest/opnfv_tests/openstack/tempest/custom_tests/blacklist.yaml + functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml functest/opnfv_tests/vnf commands = yamllint -s {[testenv:yamllint]files} +[testenv:ansiblelint] +basepython = python2.7 +commands = + ansible-lint ansible/site.yml + [testenv:py36] dirs = functest/tests/unit/ci