[trivial] Rename tox jobs for zuul

This patchset renames the tox.ini jobs:

* coverage => cover
* lint => pep8
* unit => py35

to comply with OpenStack standards [0]. This is needed so that [1]
works seamlessly (it will enable py35 and cover jobs for Drydock).

[0] e.g. 04469a5181/tox.ini (L119)
[1] I174d5df008f6e000da1a3878afe75919312ea7aa

Change-Id: I9ead2156cde9b1bbbec8374845653825158dec19
This commit is contained in:
Felipe Monteiro 2018-05-18 18:16:40 +01:00
parent c85e6ad668
commit e1463c6b79
2 changed files with 5 additions and 5 deletions

View File

@ -45,12 +45,12 @@ external_dep: requirements-host.txt
# Run unit and Postgres integration tests in coverage mode
.PHONY: coverage_test
coverage_test: build_drydock external_dep
tox -re coverage
tox -re cover
# Run just unit tests
.PHONY: unit_tests
unit_tests: external_dep
tox -re unit
tox -re py35
# Run the drydock container and exercise simple tests
.PHONY: run_drydock

View File

@ -1,5 +1,5 @@
[tox]
envlist = pep8,bandit,unit
envlist = py35,pep8,bandit
[testenv]
setenv = YAMLDIR = {toxinidir}/tests/yaml_samples/
@ -25,7 +25,7 @@ commands=
yapf -i -r --style=pep8 {toxinidir}/tests
find {toxinidir}/drydock_provisioner -name '__init__.py' -exec yapf -i --style=pep8 \{\} ;
[testenv:unit]
[testenv:py35]
usedevelop=True
setenv=
PYTHONWARNING=all
@ -45,7 +45,7 @@ commands=
py.test \
{toxinidir}/tests/integration/postgres/{posargs}
[testenv:coverage]
[testenv:cover]
usedevelop=True
passenv=DOCKER_REGISTRY IMAGE_NAME IMAGE_PREFIX IMAGE_TAG
setenv=