From 68f675f5a3213fd228f9742154218d4fa5e1a74a Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 25 Oct 2022 10:08:39 -0700 Subject: [PATCH] Add tox-py311 job Python 3.11 is out now. Add a tox-py3.11 base job to make it easier to run tests on this new release of Python. Change-Id: I19c98c0e683e36f727ae869e7b60f7c16d7eb78d --- zuul-tests.d/project.yaml | 4 ++++ zuul.d/python-jobs.yaml | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/zuul-tests.d/project.yaml b/zuul-tests.d/project.yaml index 7fd0b2579..d9f7a0383 100644 --- a/zuul-tests.d/project.yaml +++ b/zuul-tests.d/project.yaml @@ -13,6 +13,8 @@ nodeset: ubuntu-focal - tox-py310: nodeset: ubuntu-jammy + - tox-py311: + nodeset: ubuntu-jammy gate: jobs: - zuul-tox-docs @@ -23,6 +25,8 @@ nodeset: ubuntu-focal - tox-py310: nodeset: ubuntu-jammy + - tox-py311: + nodeset: ubuntu-jammy promote: jobs: - zuul-promote-docs diff --git a/zuul.d/python-jobs.yaml b/zuul.d/python-jobs.yaml index 7ad1a6d84..87ac79986 100644 --- a/zuul.d/python-jobs.yaml +++ b/zuul.d/python-jobs.yaml @@ -192,6 +192,17 @@ tox_envlist: py310 python_version: "3.10" +- job: + name: tox-py311 + parent: tox + description: | + Run unit tests for a Python project under cPython version 3.11. + + Uses tox with the ``py311`` environment. + vars: + tox_envlist: py311 + python_version: "3.11" + - job: name: tox-docs # This is not parented to tox since we do not need