diff --git a/configloader/tox.ini b/configloader/tox.ini index 5e5475803..6c58a7865 100644 --- a/configloader/tox.ini +++ b/configloader/tox.ini @@ -12,6 +12,8 @@ commands = docker run --rm -v {toxinidir}:/app -v configloader-{envname}-py38-tox:/app/.tox configloader-{envname}-py38-test py38 docker build --build-arg PYTHON_VERSION=3.9.7 -t configloader-{envname}-py39-test -f Dockerfile.test . docker run --rm -v {toxinidir}:/app -v configloader-{envname}-py39-tox:/app/.tox configloader-{envname}-py39-test py39 + docker build --build-arg PYTHON_VERSION=3.11.9 -t configloader-{envname}-py311-test -f Dockerfile.test . + docker run --rm -v {toxinidir}:/app -v configloader-{envname}-py311-tox:/app/.tox configloader-{envname}-py311-test py311 [testenv] depends = clean @@ -20,6 +22,7 @@ setenv = PYTHONPATH = {toxinidir}/tests usedevelop = true deps = + py311: -r {toxinidir}/requirements/test.txt py39: -r {toxinidir}/requirements/test.txt py38: -r {toxinidir}/requirements/test.py38.txt commands = @@ -33,7 +36,7 @@ depends = [testenv:report] skip_install = true commands = coverage report -m -depends = py39 +depends = py311 parallel_show_output = true [coverage:run] diff --git a/taskcluster/kinds/tox/kind.yml b/taskcluster/kinds/tox/kind.yml index 5c1559746..2f4713e19 100644 --- a/taskcluster/kinds/tox/kind.yml +++ b/taskcluster/kinds/tox/kind.yml @@ -62,7 +62,7 @@ tasks: resources: - bouncerscript configloader: - python-versions: [38, 39] + python-versions: [38, 39, 311] resources: - configloader githubscript: diff --git a/tox.ini b/tox.ini index 0c32b7008..cdabe5afb 100644 --- a/tox.ini +++ b/tox.ini @@ -7,6 +7,7 @@ envlist = bouncerscript-py39 configloader-py38 configloader-py39 + configloader-py311 githubscript-py39 init-py39 # iscript and notarization_poller are python 3.8 only @@ -75,6 +76,11 @@ commands = changedir = {toxinidir}/configloader commands = tox -e py39 + +[testenv:configloader-py311] +changedir = {toxinidir}/configloader +commands = + tox -e py311 - tox -e coveralls [testenv:init-py39]