Merge "Updating python testing as per Yoga testing runtime"
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
jobs:
|
||||
- openstack-tox-pep8
|
||||
- cinderlib-tox-py36
|
||||
- cinderlib-tox-py37
|
||||
- cinderlib-tox-py39
|
||||
|
||||
- cinderlib-lvm-functional
|
||||
- cinderlib-ceph-functional
|
||||
@@ -17,7 +17,7 @@
|
||||
jobs:
|
||||
- openstack-tox-pep8
|
||||
- cinderlib-tox-py36
|
||||
- cinderlib-tox-py37
|
||||
- cinderlib-tox-py39
|
||||
|
||||
- cinderlib-lvm-functional
|
||||
- cinderlib-ceph-functional
|
||||
@@ -34,8 +34,8 @@
|
||||
- openstack/cinder
|
||||
|
||||
- job:
|
||||
name: cinderlib-tox-py37
|
||||
parent: openstack-tox-py37
|
||||
name: cinderlib-tox-py39
|
||||
parent: openstack-tox-py39
|
||||
required-projects:
|
||||
- openstack/os-brick
|
||||
- openstack/cinder
|
||||
|
||||
@@ -23,6 +23,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
|
||||
|
||||
[files]
|
||||
packages =
|
||||
|
||||
12
tox.ini
12
tox.ini
@@ -66,19 +66,19 @@ setenv =
|
||||
{[testenv:functional]setenv}
|
||||
sitepackages = True
|
||||
basepython=python3.6
|
||||
# Not reusing py36's env due to https://github.com/tox-dev/tox/issues/477
|
||||
# envdir = {toxworkdir}/py36
|
||||
# NOTE: We intentionally do not reuse the unit test's env due to
|
||||
# https://github.com/tox-dev/tox/issues/477
|
||||
commands = {[testenv:functional]commands}
|
||||
allowlist_externals = {[testenv:functional]allowlist_externals}
|
||||
|
||||
[testenv:functional-py38]
|
||||
[testenv:functional-py39]
|
||||
usedevelop=True
|
||||
setenv =
|
||||
{[testenv:functional]setenv}
|
||||
sitepackages = True
|
||||
basepython=python3.8
|
||||
# Not reusing py38's env due to https://github.com/tox-dev/tox/issues/477
|
||||
# envdir = {toxworkdir}/py38
|
||||
basepython=python3.9
|
||||
# NOTE: We intentionally do not reuse the unit test's env due to
|
||||
# https://github.com/tox-dev/tox/issues/477
|
||||
commands = {[testenv:functional]commands}
|
||||
allowlist_externals = {[testenv:functional]allowlist_externals}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user