Add tox -ecover environment
Change-Id: Ifb07bb6e7240d8d8a116baa17cb89ced647c128b
This commit is contained in:
parent
b435b50e4c
commit
278a39ecf7
7
.coveragerc
Normal file
7
.coveragerc
Normal file
@ -0,0 +1,7 @@
|
||||
[run]
|
||||
branch = True
|
||||
source = octavia
|
||||
omit = octavia/tests/*,octavia/openstack/*
|
||||
|
||||
[report]
|
||||
ignore-errors = True
|
3
tox.ini
3
tox.ini
@ -12,6 +12,9 @@ deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/doc-requirements.txt
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8
|
||||
doc8 specs doc/source octavia \
|
||||
|
Loading…
Reference in New Issue
Block a user