diff --git a/doc/source/python-jobs.rst b/doc/source/python-jobs.rst index 82dd3faa2..9437e7f3d 100644 --- a/doc/source/python-jobs.rst +++ b/doc/source/python-jobs.rst @@ -8,6 +8,7 @@ Python Jobs .. zuul:autojob:: tox-py37 .. zuul:autojob:: tox-py38 .. zuul:autojob:: tox-py39 +.. zuul:autojob:: tox-py310 .. zuul:autojob:: tox-docs .. zuul:autojob:: tox-linters .. zuul:autojob:: tox-molecule diff --git a/zuul-tests.d/project.yaml b/zuul-tests.d/project.yaml index eedd69178..c9192d1a7 100644 --- a/zuul-tests.d/project.yaml +++ b/zuul-tests.d/project.yaml @@ -10,6 +10,11 @@ - tox-py38 - tox-py39: nodeset: ubuntu-focal + - tox-py310: + nodeset: + nodes: + - name: fedora-35 + label: fedora-35 gate: jobs: - zuul-tox-docs @@ -17,6 +22,11 @@ - tox-py38 - tox-py39: nodeset: ubuntu-focal + - tox-py310: + nodeset: + nodes: + - name: fedora-35 + label: fedora-35 promote: jobs: - zuul-promote-docs diff --git a/zuul.d/python-jobs.yaml b/zuul.d/python-jobs.yaml index cc9a8e897..5fe00ab2a 100644 --- a/zuul.d/python-jobs.yaml +++ b/zuul.d/python-jobs.yaml @@ -181,6 +181,17 @@ tox_envlist: py39 python_version: 3.9 +- job: + name: tox-py310 + parent: tox + description: | + Run unit tests for a Python project under cPython version 3.10. + + Uses tox with the ``py310`` environment. + vars: + tox_envlist: py310 + python_version: "3.10" + - job: name: tox-docs # This is not parented to tox since we do not need