Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for zed. See also the PTI in governance [1]. I needed to squash in another change that is dropping the py36 and py37 support. We cannot do that separately as those jobs are already failing. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I378d5c3c1f3e96696670a4865caf5901269a5ee4
This commit is contained in:
parent
7f77e98abd
commit
9101797227
23
.zuul.yaml
23
.zuul.yaml
|
@ -1,35 +1,32 @@
|
|||
- project:
|
||||
templates:
|
||||
- openstack-python3-yoga-jobs
|
||||
- openstack-python3-zed-jobs
|
||||
- check-requirements
|
||||
- publish-openstack-docs-pti
|
||||
- release-notes-jobs-python3
|
||||
- openstackclient-plugin-jobs
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-functional-py36:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
- openstack-tox-functional-py37:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
- openstack-tox-functional-py38:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
- openstack-tox-functional-py39:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
- openstack-tox-functional-py310:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
voting: False
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-functional-py36:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
- openstack-tox-functional-py37:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
- openstack-tox-functional-py38:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
- openstack-tox-functional-py39:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
- openstack-tox-functional-py310:
|
||||
required-projects:
|
||||
- openstack/placement
|
||||
voting: False
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ description_file =
|
|||
author = OpenStack
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
home_page = https://docs.openstack.org/osc-placement/latest/
|
||||
python_requires = >=3.6
|
||||
python_requires = >=3.8
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
|
@ -17,8 +17,6 @@ classifier =
|
|||
Programming Language :: Python :: Implementation :: CPython
|
||||
Programming Language :: Python :: 3 :: Only
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
|
||||
|
|
22
tox.ini
22
tox.ini
|
@ -31,20 +31,6 @@ deps =
|
|||
git+https://opendev.org/openstack/placement.git#egg=openstack-placement
|
||||
commands = stestr --test-path=./osc_placement/tests/functional run {posargs}
|
||||
|
||||
[testenv:functional-py36]
|
||||
description =
|
||||
Run functional tests using python3.6.
|
||||
deps = {[testenv:functional]deps}
|
||||
commands =
|
||||
{[testenv:functional]commands}
|
||||
|
||||
[testenv:functional-py37]
|
||||
description =
|
||||
Run functional tests using python3.7.
|
||||
deps = {[testenv:functional]deps}
|
||||
commands =
|
||||
{[testenv:functional]commands}
|
||||
|
||||
[testenv:functional-py38]
|
||||
description =
|
||||
Run functional tests using python3.8.
|
||||
|
@ -59,6 +45,14 @@ deps = {[testenv:functional]deps}
|
|||
commands =
|
||||
{[testenv:functional]commands}
|
||||
|
||||
[testenv:functional-py310]
|
||||
description =
|
||||
Run functional tests using python3.10.
|
||||
deps = {[testenv:functional]deps}
|
||||
commands =
|
||||
{[testenv:functional]commands}
|
||||
|
||||
|
||||
[testenv:pep8]
|
||||
description =
|
||||
Run style checks.
|
||||
|
|
Loading…
Reference in New Issue