Skip to content

Commit 5ef277b

Browse files
committed
Add coverage to test run
1 parent 1718bc6 commit 5ef277b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ deps =
2424
django111: Django>=1.11,<1.12
2525
django-master: https://github.com/django/django/archive/master.tar.gz
2626
jinja2
27+
coverage
2728
jsmin==2.2.0
2829
ply==3.4
2930
slimit==0.8.1
3031
setenv =
3132
DJANGO_SETTINGS_MODULE = tests.settings
3233
PYTHONPATH = {toxinidir}
3334
commands =
34-
{envbindir}/django-admin.py test {posargs:tests}
35+
{envbindir}/coverage run --source pipeline {envbindir}/django-admin.py test {posargs:tests}
36+
{envbindir}/coverage report
3537

3638
[testenv:docs]
3739
basepython = python2.7

0 commit comments

Comments
 (0)