aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 10 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 721006acb..8e351f6ed 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
[tox]
minversion = 3.18
skipsdist = True
-envlist = pep8,py38
+envlist = pep8,py310-{docker,podman}
ignore_basepython_conflict = True
[testenv]
@@ -15,12 +15,21 @@ deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up
passenv = http_proxy,HTTP_PROXY,https_proxy,HTTPS_PROXY,no_proxy,NO_PROXY
OS_STDOUT_CAPTURE,OS_STDERR_CAPTURE,OS_LOG_CAPTURE,OS_TEST_TIMEOUT
PYTHON,OS_TEST_PATH,LISTOPT,IDOPTION
+
commands =
find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete
find . -type d -name "__pycache__" -delete
stestr run {posargs}
stestr slowest
+[testenv:docker]
+setenv =
+ TEST_ENGINE=docker
+
+[testenv:podman]
+setenv =
+ TEST_ENGINE=podman
+
[testenv:debug]
commands = oslo_debug_helper -t kolla/tests {posargs}