From 1eb38c45e710b47edbc72ca3a7236324e4a6dc74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Mon, 24 Jul 2023 17:32:04 +0200 Subject: [PATCH] Added py3.11 tox target --- tox.ini | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d5bb72eb0f0..060e5e6a3b7 100644 --- a/tox.ini +++ b/tox.ini @@ -17,6 +17,7 @@ skip_missing_interpreters = True skipsdist = True envlist = check, + unit_py3_11, unit_py3_10, unit_py3_9, unit_py3_8, @@ -26,7 +27,7 @@ envlist = [testenv] description = - {unit_py3_6,unit_py3_8,unit_py3_9,unit_py3_10}: Unit Test run with basepython set to {basepython} + {unit_py3_6,unit_py3_8,unit_py3_9,unit_py3_10,unit_py3_11}: Unit Test run with basepython set to {basepython} devel: Test KIWI allowlist_externals = bash @@ -40,6 +41,7 @@ allowlist_externals = python pytest basepython = + unit_py3_11: python3.11 unit_py3_10: python3.10 unit_py3_9: python3.9 unit_py3_8: python3.8 @@ -89,6 +91,15 @@ commands = {[testenv:unit]commands} +# Unit Test run with basepython set to 3.11 +[testenv:unit_py3_11] +setenv = + PYTHONPATH={toxinidir}/test +changedir=test/unit +commands = + {[testenv:unit]commands} + + [testenv:unit] description = Unit Test Base skip_install = True