2 envlist = pep8,pylint,yamllint,ansiblelint,bashate,py27,bandit
7 -chttps://git.opnfv.org/functest/plain/upper-constraints.txt
8 -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
9 -r{toxinidir}/requirements.txt
10 -r{toxinidir}/test-requirements.txt
11 install_command = pip install {opts} {packages}
12 commands = nosetests --with-xunit \
15 --cover-package=functest_kubernetes \
21 basepython = python2.7
25 basepython = python2.7
26 commands = pylint --disable=locally-disabled --reports=n functest_kubernetes
29 basepython = python2.7
33 functest_kubernetes/rally/all-in-one.yaml
35 yamllint {[testenv:yamllint]files}
38 basepython = python2.7
39 commands = ansible-lint ansible/site.yml
42 basepython = python2.7
43 commands = bandit -r functest_kubernetes -x tests -n 5 -ll
46 commands = nosetests functest_kubernetes
49 basepython = python2.7
52 commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files}