summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhanshyam Mann <gmann@ghanshyammann.com>2021-11-03 15:08:44 -0500
committerGhanshyam Mann <gmann@ghanshyammann.com>2021-11-03 15:08:44 -0500
commit1aac05c7b2f1fe4699a7f08183c93d6f92ce1efe (patch)
tree7e7137570987dc398b4c30f31ad6766a9fd58398
parent8cd09500bea38bfd9478814be95fddf3df56fbff (diff)
downloadtempest-1aac05c7b2f1fe4699a7f08183c93d6f92ce1efe.tar.gz
Test all supported python version for stable branch
As Tempest is branchless and needs to support older supported stable branches, let's test it with all the python version supported in those supported stable branches. For that, we need to explicitly dd the py jobs instead of using the template. This way, we will explicitly know that we are testing all supported python versions when the new release template bumps the min python version in the template. In Yoga testing, we are making py3.9 job to run as voting, so adding py3.9 job as voting. Change-Id: I422da8da06509e529f4091e21cdc3d392d3cf910
-rw-r--r--setup.cfg1
-rw-r--r--tox.ini2
-rw-r--r--zuul.d/project.yaml11
3 files changed, 12 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index d885db068..a41eccf92 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -18,6 +18,7 @@ classifier =
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
diff --git a/tox.ini b/tox.ini
index efdaacc2a..d7be02f0c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = pep8,py36,py38,bashate,pip-check-reqs
+envlist = pep8,py36,py39,bashate,pip-check-reqs
minversion = 3.18.0
skipsdist = True
ignore_basepython_conflict = True
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index 7b3b02847..674781bb8 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -3,11 +3,15 @@
- check-requirements
- integrated-gate-py3
- openstack-cover-jobs
- - openstack-python3-xena-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
- tempest-full-parallel:
# Define list of irrelevant files to use everywhere else
irrelevant-files: &tempest-irrelevant-files
@@ -120,6 +124,11 @@
irrelevant-files: *tempest-irrelevant-files-2
gate:
jobs:
+ - openstack-tox-pep8
+ - openstack-tox-py36
+ - openstack-tox-py37
+ - openstack-tox-py38
+ - openstack-tox-py39
- tempest-slow-py3:
irrelevant-files: *tempest-irrelevant-files
- neutron-ovs-grenade-multinode: