From a6f7b2ed72137a3d5c8adff2b2d953f372e00402 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Wed, 24 Nov 2021 20:23:12 -0600 Subject: [PATCH] Test all supported python version As tenks is branchless which means same master code is run on stable branches too, let's test it with all the python version supported in those stable branches. For that, we need to explicitly add the python jobs instead of using the release specific job template. This way, we will explicitly know that we are testing all supported python versions and do not remove the older py version testing when the new release template bumps the min python version like done in Yoga. In Yoga testing, we are making py3.9 job to run as voting, so adding py3.9 job as voting. Change-Id: I1e9bbc75703f94acda0bddf0a2e43e835eb80cf0 --- setup.cfg | 1 + zuul.d/project.yaml | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index ecbff13..3b611c1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,7 @@ classifier = Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 [files] packages = diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 415dcac..12ab48e 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -2,12 +2,16 @@ - project: templates: - openstack-cover-jobs - - openstack-python3-victoria-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: + - openstack-tox-pep8 + - openstack-tox-py36 + - openstack-tox-py37 + - openstack-tox-py38 + - openstack-tox-py39 - tenks-tox-ansible-lint - tenks-deploy-teardown-ovs-centos8 - tenks-deploy-teardown-ovs-ubuntu @@ -19,6 +23,11 @@ gate: queue: tenks jobs: + - openstack-tox-pep8 + - openstack-tox-py36 + - openstack-tox-py37 + - openstack-tox-py38 + - openstack-tox-py39 - tenks-tox-ansible-lint - tenks-deploy-teardown-ovs-centos8 - tenks-deploy-teardown-ovs-ubuntu