Skip to content

Commit

Permalink
Added py3.11 tox target
Browse files Browse the repository at this point in the history
  • Loading branch information
schaefi committed Jul 24, 2023
1 parent f223e61 commit 1eb38c4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ skip_missing_interpreters = True
skipsdist = True
envlist =
check,
unit_py3_11,
unit_py3_10,
unit_py3_9,
unit_py3_8,
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1eb38c4

Please sign in to comment.