Run unit tests with python3.6 distributed with CentOS 7

Introduces a new centos-7 unit test job:
 tobiko-tox-py36-centos-7

This renames existing py38 unit test job:
 tobiko-tox-py38 -> tobiko-tox-py38-centos-7

Change-Id: Ice1dc9e8d0f48598f2051c828b96205b8836272f
This commit is contained in:
Federico Ressi 2020-01-10 12:04:35 +01:00
parent f0b194de90
commit 360a1e1331
2 changed files with 21 additions and 5 deletions

View File

@ -14,14 +14,16 @@
check: check:
jobs: jobs:
- tobiko-tox-py38 - tobiko-tox-py36-centos-7
- tobiko-tox-py38-centos-7
- tobiko-devstack-functional - tobiko-devstack-functional
- tobiko-devstack-faults-centos-7 - tobiko-devstack-faults-centos-7
- tobiko-devstack-faults-ubuntu-bionic - tobiko-devstack-faults-ubuntu-bionic
gate: gate:
jobs: jobs:
- tobiko-tox-py38 - tobiko-tox-py36-centos-7
- tobiko-tox-py38-centos-7
- tobiko-devstack-functional - tobiko-devstack-functional
experimental: experimental:

View File

@ -1,16 +1,30 @@
--- ---
- job: - job:
name: tobiko-tox-py38 name: tobiko-tox-py36-centos-7
parent: openstack-tox parent: openstack-tox
nodeset: centos-7 nodeset: centos-7
timeout: 2400 timeout: 2400
description: | description: |
Run unit tests for an OpenStack Python project under cPython Run unit tests for an OpenStack Python project under cPython version 3.6.
version 3.8. Uses tox with the ``py36`` environment.
vars:
tox_envlist: py36
bindep_profile: test py36
python_version: 3.6
- job:
name: tobiko-tox-py38-centos-7
parent: openstack-tox
nodeset: centos-7
timeout: 2400
description: |
Run unit tests for an OpenStack Python project under cPython version 3.8.
Uses tox with the ``py38`` environment. Uses tox with the ``py38`` environment.
vars: vars:
tox_envlist: py38 tox_envlist: py38
bindep_profile: test py38 bindep_profile: test py38
python_version: 3.8 python_version: 3.8
# compile and install python3.8 from source code
pre-run: playbooks/tox-py38/pre.yaml pre-run: playbooks/tox-py38/pre.yaml