Merge "Update coverage job"
This commit is contained in:
commit
edfadd5245
5
tox.ini
5
tox.ini
@ -44,11 +44,14 @@ commands =
|
|||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:gen-cover]
|
||||||
commands = python setup.py testr --coverage \
|
commands = python setup.py testr --coverage \
|
||||||
--omit='{toxinidir}/refstack/tests*,{toxinidir}/refstack/api/config.py,{toxinidir}/refstack/db/migrations/alembic/env.py,{toxinidir}/refstack/opts.py' \
|
--omit='{toxinidir}/refstack/tests*,{toxinidir}/refstack/api/config.py,{toxinidir}/refstack/db/migrations/alembic/env.py,{toxinidir}/refstack/opts.py' \
|
||||||
--testr-args='{posargs}'
|
--testr-args='{posargs}'
|
||||||
|
|
||||||
|
[testenv:cover]
|
||||||
|
commands = {toxinidir}/tools/cover.sh {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user