diff --git a/.zuul.yaml b/.zuul.yaml index c381d93cd..f8c054a4a 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -69,7 +69,9 @@ irrelevant-files: *base_irrelevant_files required-projects: *base_required_projects timeout: 6000 - vars: *base_vars + vars: + <<: *base_vars + tox_envlist: congress-ipv6 - job: name: congress-tempest-py2 diff --git a/tox.ini b/tox.ini index ed35f1f4e..1ee7f7b92 100644 --- a/tox.ini +++ b/tox.ini @@ -83,6 +83,17 @@ deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build doc/source/api sphinx-build -W -b html doc/source doc/build/html +[testenv:congress-ipv6] +envdir = .tox/tempest +sitepackages = True +setenv = {[testenv]setenv} +deps = {[testenv]deps} +# The regex below is used to select the congress smoke tests only. In future, +# it can be extended to include more IPv6 related tests. +commands = + find . -type f -name "*.pyc" -delete + tempest run --list-tests --regex '(^congress_tempest_plugin.*)(\[.*\bsmoke\b.*\])' {posargs} + [testenv:releasenotes] basepython = python3 deps = -r{toxinidir}/doc/requirements.txt