[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].

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

Change-Id: I1a542c5e36f29d3788df8a5ebdce3cbe49ab4046
This commit is contained in:
Felipe Monteiro 2018-05-18 18:14:52 +01:00
parent 376689693f
commit ed65d983f7
3 changed files with 6 additions and 6 deletions

View File

@ -36,11 +36,11 @@ docs:
.PHONY: tests-unit .PHONY: tests-unit
tests-unit: tests-unit:
tox -e unit tox -e py35
.PHONY: tests-pep8 .PHONY: tests-pep8
tests-pep8: tests-pep8:
tox -e lint tox -e pep8
chartbanner: chartbanner:
@echo Building charts: $(CHARTS) @echo Building charts: $(CHARTS)

View File

@ -15,6 +15,6 @@
- hosts: primary - hosts: primary
tasks: tasks:
- name: Execute a Whitespace Linter check - name: Execute a Whitespace Linter check
command: find . -not -path "*/\.*" -not -path "*/docs/build/*" -not -name "*.tgz" -type f -exec egrep -l " +$" {} \; command: find . -not -path "*/\.*" -not -path "*/doc/build/*" -not -name "*.tgz" -type f -exec egrep -l " +$" {} \;
register: result register: result
failed_when: result.stdout != "" failed_when: result.stdout != ""

View File

@ -1,10 +1,10 @@
[tox] [tox]
envlist = lint,unit,bandit,docs envlist = pep8,py35,bandit,docs
[testenv] [testenv]
basepython=python3 basepython=python3
[testenv:unit] [testenv:py35]
setenv = setenv =
PYTHONWARNING=all PYTHONWARNING=all
deps = -r{toxinidir}/requirements-frozen.txt deps = -r{toxinidir}/requirements-frozen.txt
@ -48,7 +48,7 @@ whitelist_externals = sh
commands = commands =
{toxinidir}/tools/lint_gate.sh {toxinidir}/tools/lint_gate.sh
[testenv:lint] [testenv:pep8]
deps = deps =
yapf==0.20.0 yapf==0.20.0
flake8==3.5.0 flake8==3.5.0