Run unit tests with CentOS 8

Change-Id: I2f554b9933f95a0c05805beef1fe71ac1275ada6
This commit is contained in:
Federico Ressi 2020-01-20 11:00:33 +01:00
parent f4907eabdb
commit 78fcbbf119
3 changed files with 37 additions and 6 deletions

View File

@ -12,8 +12,6 @@ iproute [platform:rpm]
libffi-devel [platform:rpm]
libffi-dev [platform:dpkg]
libselinux-python [platform:rpm]
openssl-devel [platform:rpm]
libssl-dev [platform:dpkg]
@ -22,3 +20,6 @@ python3 [platform:dpkg]
python3-devel [platform:rpm]
python3-dev [platform:dpkg]
python3-libselinux [platform:rpm rhel8]
libselinux-python [platform:rpm !rhel8]

View File

@ -14,7 +14,9 @@
check:
jobs:
- tobiko-tox-py36-centos-7
- tobiko-tox-py36-centos-8
- tobiko-tox-py38-centos-7
- tobiko-tox-py38-centos-8
- tobiko-devstack-functional
- tobiko-devstack-faults-centos-7
- tobiko-devstack-faults-ubuntu-bionic

View File

@ -1,9 +1,9 @@
---
- job:
name: tobiko-tox-py36-centos-7
name: tobiko-tox-py36-base
parent: openstack-tox
nodeset: centos-7
abstract: true
timeout: 2400
description: |
Run unit tests for an OpenStack Python project under cPython version 3.6.
@ -15,9 +15,23 @@
- job:
name: tobiko-tox-py38-centos-7
parent: openstack-tox
name: tobiko-tox-py36-centos-7
parent: tobiko-tox-py36-base
nodeset: centos-7
- job:
name: tobiko-tox-py36-centos-8
parent: tobiko-tox-py36-base
nodeset: centos-8
vars:
bindep_profile: test py36 rhel8
- job:
name: tobiko-tox-py38-base
parent: openstack-tox
abstract: true
timeout: 2400
description: |
Run unit tests for an OpenStack Python project under cPython version 3.8.
@ -28,3 +42,17 @@
python_version: 3.8
# compile and install python3.8 from source code
pre-run: playbooks/tox-py38/pre.yaml
- job:
name: tobiko-tox-py38-centos-7
parent: tobiko-tox-py38-base
nodeset: centos-7
- job:
name: tobiko-tox-py38-centos-8
parent: tobiko-tox-py38-base
nodeset: centos-8
vars:
bindep_profile: test py38 rhel8