From dbd8cec64e092ed8fd49bb9b6802e657e00469fb Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 12 Aug 2025 14:44:27 +0200 Subject: [PATCH] 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 --- tox.ini | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/tox.ini b/tox.ini index c67226df2a..e3a42ad775 100644 --- a/tox.ini +++ b/tox.ini @@ -78,10 +78,6 @@ commands = 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; @@ -90,28 +86,11 @@ commands = # W503 line break before binary operator ignore=F403,E124,W503 -[testenv:bashate] -commands = - bash -c "{toxinidir}/tests/common/test-bashate.sh" - - [testenv:ansible] deps = {[testenv]deps} -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] # Use a fixed seed since some inventory tests rely on specific ordering deps = @@ -139,16 +118,6 @@ setenv = 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] # You can use DOCKER_REGISTRY and DOCKER_IMAGE_TAG to switch between # tested distros. I.e: