Remove functional test environments from tox.ini
This removes tox evs which are dependent on a tests repo framework, which was deprecated. Change-Id: I2d7ecf9355e20abd85027a66fb84d50bc87781f2 Co-authored-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com> Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
committed by
Dmitriy Rabotyagov
parent
f8680a7a8d
commit
f33a1a17c8
52
tox.ini
52
tox.ini
@@ -60,55 +60,3 @@ commands =
|
|||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands =
|
commands =
|
||||||
{posargs}
|
{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}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user