Add python3 unit test with drivers installed
Adds unit-with-driver-libs-python3 tox environment, and corresponding ironic-with-driver-libs-python3 Zuul job. The lack of this job was highlighted by https://review.openstack.org/#/c/641972 which marks UcsSdk as supported in python 2 only. Change-Id: Ibc0f9a8fddd8f6b358efed1c4c93b95d4e01bc13
This commit is contained in:
parent
f681fa682e
commit
cf2c0a0022
5
tox.ini
5
tox.ini
@ -25,6 +25,11 @@ basepython = python2
|
||||
deps = {[testenv]deps}
|
||||
-r{toxinidir}/driver-requirements.txt
|
||||
|
||||
[testenv:unit-with-driver-libs-python3]
|
||||
basepython = python3
|
||||
deps = {[testenv]deps}
|
||||
-r{toxinidir}/driver-requirements.txt
|
||||
|
||||
[testenv:genstates]
|
||||
basepython = python3
|
||||
deps = {[testenv]deps}
|
||||
|
@ -458,3 +458,11 @@
|
||||
Run unit tests with driver dependencies installed.
|
||||
vars:
|
||||
tox_envlist: unit-with-driver-libs
|
||||
|
||||
- job:
|
||||
name: ironic-tox-unit-with-driver-libs-python3
|
||||
parent: tox
|
||||
description: |
|
||||
Run python 3 unit tests with driver dependencies installed.
|
||||
vars:
|
||||
tox_envlist: unit-with-driver-libs-python3
|
||||
|
@ -11,6 +11,7 @@
|
||||
check:
|
||||
jobs:
|
||||
- ironic-tox-unit-with-driver-libs
|
||||
- ironic-tox-unit-with-driver-libs-python3
|
||||
- ironic-standalone
|
||||
- ironic-tempest-functional-python2
|
||||
- ironic-tempest-functional-python3
|
||||
@ -37,6 +38,7 @@
|
||||
queue: ironic
|
||||
jobs:
|
||||
- ironic-tox-unit-with-driver-libs
|
||||
- ironic-tox-unit-with-driver-libs-python3
|
||||
- ironic-standalone
|
||||
- ironic-tempest-functional-python2
|
||||
- ironic-tempest-functional-python3
|
||||
|
Loading…
Reference in New Issue
Block a user