Skip to content

Commit 59dde19

Browse files
committed
Add coverage reporting to django tox envs
1 parent 5a34333 commit 59dde19

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@ basepython = python3.12
3535
deps =
3636
-rrequirements/tests-django.txt
3737
Django>=4.2,<4.3
38-
commands = py.test -m django {posargs}
38+
commands = py.test --cov-report term --cov-report html --cov emails -m django {posargs}
3939

4040
[testenv:django52]
4141
basepython = python3.12
4242
deps =
4343
-rrequirements/tests-django.txt
4444
Django>=5.2,<5.3
45-
commands = py.test -m django {posargs}
45+
commands = py.test --cov-report term --cov-report html --cov emails -m django {posargs}
4646

4747
[testenv:django60]
4848
basepython = python3.12
4949
deps =
5050
-rrequirements/tests-django.txt
5151
Django>=6.0,<6.1
52-
commands = py.test -m django {posargs}
52+
commands = py.test --cov-report term --cov-report html --cov emails -m django {posargs}
5353

5454
[testenv:typecheck]
5555
deps = mypy

0 commit comments

Comments
 (0)