mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
Simplify coverage setup.
This commit is contained in:
parent
9dd8ba2a6e
commit
a8643a1af5
2 changed files with 8 additions and 3 deletions
6
.coveragerc
Normal file
6
.coveragerc
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[run]
|
||||
source = configurations
|
||||
branch = 1
|
||||
|
||||
[report]
|
||||
omit = *tests*,*migrations*
|
||||
5
tox.ini
5
tox.ini
|
|
@ -46,6 +46,5 @@ commands = flake8 configurations --ignore=E501,E127,E128,E124
|
|||
|
||||
[testenv:coverage-py27-dj16]
|
||||
commands = coverage erase
|
||||
coverage run --source=. manage.py test -v2 {posargs:tests}
|
||||
coverage report -m configurations/*py
|
||||
coverage html configurations/*py
|
||||
coverage run manage.py test -v2 {posargs:tests}
|
||||
coverage report
|
||||
|
|
|
|||
Loading…
Reference in a new issue