Add unit test reports

This commit is contained in:
Cédric Krier
2023-01-08 01:55:20 +01:00
parent 5f8b891f62
commit 62e8201d5a
202 changed files with 417 additions and 208 deletions
+2 -1
View File
@@ -4,10 +4,11 @@ envlist = {py37,py38,py39,py310}-{sqlite,postgresql}
[testenv]
extras = test
commands =
coverage run --include=./**/notification_email/* -m unittest discover -s tests {posargs}
coverage run --include=./**/notification_email/* -m xmlrunner discover -s tests {posargs}
coverage report --include=./**/notification_email/* --omit=*/tests/*
deps =
coverage
unittest-xml-reporting
postgresql: psycopg2 >= 2.7.0
passenv = *
setenv =