From e532b71313058959976705ea3e18a45799b3cd47 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Wed, 24 Nov 2021 18:13:48 -0600 Subject: [PATCH] Test all supported python version As os-resource-classes 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 pythn 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: Ic93f1c77230d859713ea9bc86065880efa91de7c --- .zuul.yaml | 15 ++++++++++++++- setup.cfg | 2 ++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index aa7e3b0..e0869c0 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -2,6 +2,19 @@ templates: - check-requirements - openstack-cover-jobs - - openstack-python3-ussuri-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 + gate: + jobs: + - openstack-tox-pep8 + - openstack-tox-py36 + - openstack-tox-py37 + - openstack-tox-py38 + - openstack-tox-py39 diff --git a/setup.cfg b/setup.cfg index d94383b..23be99f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,6 +17,8 @@ classifier = Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 Programming Language :: Python :: 3 :: Only Programming Language :: Python :: Implementation :: CPython