Move the stestr command into testenv section
it's unnecessary to add py27 and py36 section into tox.ini move it into testenv section refer to kolla-ansible[0] [0]: https://github.com/openstack/kolla-ansible/blob/master/tox.ini#L20 Change-Id: I3d7fb2a6904d4826109bcffb15e47713f08644f7
This commit is contained in:
parent
95489177d8
commit
7cc4b7f624
11
tox.ini
11
tox.ini
|
@ -16,15 +16,8 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|||
commands =
|
||||
find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete
|
||||
find . -type d -name "__pycache__" -delete
|
||||
|
||||
[testenv:py27]
|
||||
commands = stestr run {posargs}
|
||||
|
||||
[testenv:py36]
|
||||
commands = stestr run {posargs}
|
||||
|
||||
[testenv:py37]
|
||||
commands = stestr run {posargs}
|
||||
# run stestr test
|
||||
stestr run {posargs}
|
||||
|
||||
[testenv:debug]
|
||||
basepython = python3
|
||||
|
|
Loading…
Reference in New Issue