From 68c116bd3bdebb1ff989752ef51345a43f743a8a Mon Sep 17 00:00:00 2001 From: Ivan Anfimov Date: Fri, 12 Sep 2025 22:24:47 +0000 Subject: [PATCH] Remove functional test environments from tox.ini This removes tox evs which are dependent on a tests repo framework, which was deprecated. Change-Id: I0e864cef63103d5a6599a5da57aaad21f4e3f2a8 Co-authored-by: Dmitriy Rabotyagov Signed-off-by: Ivan Anfimov --- tox.ini | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/tox.ini b/tox.ini index 132495e..194b89c 100644 --- a/tox.ini +++ b/tox.ini @@ -60,44 +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" - -[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: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} - -[testenv:functional] -commands = - bash -c "{toxinidir}/tests/common/test-ansible-functional.sh" - -[testenv:distro_install] -setenv = - {[testenv]setenv} - ANSIBLE_PARAMETERS=-e @{toxinidir}/tests/common/test-distro_install-vars.yml -commands = - bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"