diff --git a/tox.ini b/tox.ini index 7bf7822..a01c802 100644 --- a/tox.ini +++ b/tox.ini @@ -60,55 +60,3 @@ commands = [testenv:venv] commands = {posargs} - - -[testenv:pep8] -commands = - bash -c "{toxinidir}/tests/common/test-pep8.sh" - - -[flake8] -# Ignores the following rules due to how ansible modules work in general -# F403 'from ansible.module_utils.basic import *' used; -# unable to detect undefined names -ignore=F403 - - -[testenv:bashate] -commands = - bash -c "{toxinidir}/tests/common/test-bashate.sh" - - -# The deps URL should be set to the appropriate git URL. -# In the tests repo itself, the variable is uniquely set to -# the toxinidir so that the role is able to test itself, but -# the tox config is exactly the same as other repositories. -# -# The value for other repositories must be: -# http://opendev.org/openstack/openstack-ansible-tests/raw/branch/master/test-ansible-deps.txt -# or for a stable branch: -# http://opendev.org/openstack/openstack-ansible-tests/raw/branch/master/test-ansible-deps.txt?h=stable/queens - - -[testenv:ansible-syntax] -commands = - bash -c "{toxinidir}/tests/common/test-ansible-syntax.sh" - - -[testenv:ansible-lint] -commands = - bash -c "{toxinidir}/tests/common/test-ansible-lint.sh" - - -[testenv:functional] -commands = - bash -c "{toxinidir}/tests/common/test-ansible-functional.sh" - - -[testenv:linters] -commands = - bash -c "{toxinidir}/tests/common/test-ansible-env-prep.sh" - {[testenv:pep8]commands} - {[testenv:bashate]commands} - {[testenv:ansible-lint]commands} - {[testenv:ansible-syntax]commands}