mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Updated tox to run coverage commands together.
This commit is contained in:
parent
efd3b0e303
commit
bf8229b2f2
1 changed files with 11 additions and 1 deletions
12
tox.ini
12
tox.ini
|
|
@ -27,7 +27,17 @@ deps=
|
|||
-r{toxinidir}/requirements.txt
|
||||
|
||||
commands=
|
||||
coverage run --source=categories --omit='.tox/*,example/*,*/tests/*' {toxinidir}/example/manage.py test --settings='settings-testing' categories{posargs}
|
||||
coverage erase
|
||||
coverage run \
|
||||
--source=categories \
|
||||
--omit='.tox/*,example/*,*/tests/*' \
|
||||
{toxinidir}/example/manage.py \
|
||||
test \
|
||||
--settings='settings-testing' \
|
||||
categories{posargs}
|
||||
coverage report -m
|
||||
coverage html
|
||||
codecov
|
||||
|
||||
[testenv:begin]
|
||||
commands = coverage erase
|
||||
|
|
|
|||
Loading…
Reference in a new issue