Rename functional to functional-py27 and add functional-py37
Change-Id: Ib45b63991793fa05cddcc23491d6c1348ba1cb86
This commit is contained in:
parent
aa955b7fe8
commit
98dca2e8fb
10
.zuul.yaml
10
.zuul.yaml
@ -1,16 +1,16 @@
|
||||
---
|
||||
- job:
|
||||
name: kollacli-tox-functional
|
||||
name: kollacli-tox-functional-py27
|
||||
parent: openstack-tox
|
||||
description: |
|
||||
Run tox-based functional tests for the OpenStack Kolla-cli project.
|
||||
Run tox-based py27 functional tests for the OpenStack Kolla-cli project.
|
||||
Uses tox with the ``functional`` environment.
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/source/.*$
|
||||
- ^releasenotes/.*$
|
||||
vars:
|
||||
tox_envlist: functional
|
||||
tox_envlist: functional-py27
|
||||
timeout: 3600
|
||||
|
||||
- job:
|
||||
@ -45,10 +45,10 @@
|
||||
check:
|
||||
jobs:
|
||||
- kollacli-tox-mypy
|
||||
- kollacli-tox-functional
|
||||
- kollacli-tox-functional-py27
|
||||
- kollacli-tox-functional-py36
|
||||
gate:
|
||||
jobs:
|
||||
- kollacli-tox-mypy
|
||||
- kollacli-tox-functional
|
||||
- kollacli-tox-functional-py27
|
||||
- kollacli-tox-functional-py36
|
||||
|
14
tox.ini
14
tox.ini
@ -50,8 +50,20 @@ commands =
|
||||
bash -c "pushd /tmp/kollaclitest/usr/share/kolla-ansible/git; python setup.py install; popd"
|
||||
stestr run {posargs} --serial
|
||||
|
||||
[testenv:functional-py27]
|
||||
basepython = python2.7
|
||||
setenv = {[testenv:functional]setenv}
|
||||
commands = {[testenv:functional]commands}
|
||||
whitelist_externals = {[testenv:functional]whitelist_externals}
|
||||
|
||||
[testenv:functional-py36]
|
||||
basepython = py36: python3.6
|
||||
basepython = python3.6
|
||||
setenv = {[testenv:functional]setenv}
|
||||
commands = {[testenv:functional]commands}
|
||||
whitelist_externals = {[testenv:functional]whitelist_externals}
|
||||
|
||||
[testenv:functional-py37]
|
||||
basepython = python3.7
|
||||
setenv = {[testenv:functional]setenv}
|
||||
commands = {[testenv:functional]commands}
|
||||
whitelist_externals = {[testenv:functional]whitelist_externals}
|
||||
|
Loading…
Reference in New Issue
Block a user