Remove functional test environments from tox.ini
This removes tox evs which are dependent on a tests repo framework, which was deperecated. Change-Id: Ifa91cc44ba5d6c4888edff421a0d5b8e0602705b Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
This commit is contained in:
31
tox.ini
31
tox.ini
@@ -78,10 +78,6 @@ commands =
|
|||||||
commands =
|
commands =
|
||||||
{posargs}
|
{posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-pep8.sh"
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# Ignores the following rules due to how ansible modules work in general
|
# Ignores the following rules due to how ansible modules work in general
|
||||||
# F403 'from ansible.module_utils.basic import *' used;
|
# F403 'from ansible.module_utils.basic import *' used;
|
||||||
@@ -90,28 +86,11 @@ commands =
|
|||||||
# W503 line break before binary operator
|
# W503 line break before binary operator
|
||||||
ignore=F403,E124,W503
|
ignore=F403,E124,W503
|
||||||
|
|
||||||
[testenv:bashate]
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-bashate.sh"
|
|
||||||
|
|
||||||
|
|
||||||
[testenv:ansible]
|
[testenv:ansible]
|
||||||
deps =
|
deps =
|
||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
-r{toxinidir}/global-requirement-pins.txt
|
-r{toxinidir}/global-requirement-pins.txt
|
||||||
|
|
||||||
[testenv:ansible-syntax]
|
|
||||||
deps =
|
|
||||||
{[testenv:ansible]deps}
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-ansible-syntax.sh"
|
|
||||||
|
|
||||||
[testenv:ansible-lint]
|
|
||||||
deps =
|
|
||||||
{[testenv:ansible]deps}
|
|
||||||
commands =
|
|
||||||
bash -c "{toxinidir}/tests/common/test-ansible-lint.sh"
|
|
||||||
|
|
||||||
[testenv:inventory]
|
[testenv:inventory]
|
||||||
# Use a fixed seed since some inventory tests rely on specific ordering
|
# Use a fixed seed since some inventory tests rely on specific ordering
|
||||||
deps =
|
deps =
|
||||||
@@ -139,16 +118,6 @@ setenv =
|
|||||||
commands =
|
commands =
|
||||||
{[testenv:inventory]commands}
|
{[testenv:inventory]commands}
|
||||||
|
|
||||||
[testenv:linters]
|
|
||||||
deps =
|
|
||||||
{[testenv:ansible]deps}
|
|
||||||
commands =
|
|
||||||
{[testenv:pep8]commands}
|
|
||||||
{[testenv:bashate]commands}
|
|
||||||
{[testenv:ansible-lint]commands}
|
|
||||||
{[testenv:ansible-syntax]commands}
|
|
||||||
{[testenv:inventory]commands}
|
|
||||||
|
|
||||||
[testenv:molecule]
|
[testenv:molecule]
|
||||||
# You can use DOCKER_REGISTRY and DOCKER_IMAGE_TAG to switch between
|
# You can use DOCKER_REGISTRY and DOCKER_IMAGE_TAG to switch between
|
||||||
# tested distros. I.e:
|
# tested distros. I.e:
|
||||||
|
Reference in New Issue
Block a user