diff --git a/doc/source/python-jobs.rst b/doc/source/python-jobs.rst index 870cb475d..3e210342a 100644 --- a/doc/source/python-jobs.rst +++ b/doc/source/python-jobs.rst @@ -8,6 +8,7 @@ Python Jobs .. zuul:autojob:: tox-py36 .. zuul:autojob:: tox-py37 .. zuul:autojob:: tox-py38 +.. zuul:autojob:: tox-py39 .. 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 c6c275ca6..7d6437cfe 100644 --- a/zuul-tests.d/project.yaml +++ b/zuul-tests.d/project.yaml @@ -10,6 +10,8 @@ - tox-py35: nodeset: ubuntu-xenial - tox-py38 + - tox-py39: + nodeset: ubuntu-focal gate: jobs: - zuul-tox-docs @@ -17,6 +19,8 @@ - tox-py35: nodeset: ubuntu-xenial - tox-py38 + - tox-py39: + nodeset: ubuntu-focal promote: jobs: - zuul-promote-docs diff --git a/zuul.d/python-jobs.yaml b/zuul.d/python-jobs.yaml index 3192700ad..71900ad1d 100644 --- a/zuul.d/python-jobs.yaml +++ b/zuul.d/python-jobs.yaml @@ -113,6 +113,17 @@ tox_envlist: py38 python_version: 3.8 +- job: + name: tox-py39 + parent: tox + description: | + Run unit tests for a Python project under cPython version 3.9. + + Uses tox with the ``py39`` environment. + vars: + tox_envlist: py39 + python_version: 3.9 + - job: name: tox-docs # This is not parented to tox since we do not need