Add unit test reports
This commit is contained in:
+5
-3
@@ -3,10 +3,12 @@ envlist = py37,py38,py39,py310
|
||||
|
||||
[testenv]
|
||||
commands =
|
||||
coverage run -m unittest discover -s trytond.tests {posargs}
|
||||
coverage run -a -m unittest discover -s trytond_gis.tests {posargs}
|
||||
coverage run -m xmlrunner discover -s trytond.tests {posargs}
|
||||
coverage run -a -m xmlrunner discover -s trytond_gis.tests {posargs}
|
||||
coverage report --include=./trytond_gis/* --omit=*/tests/*
|
||||
deps = coverage
|
||||
deps =
|
||||
coverage
|
||||
unittest-xml-reporting
|
||||
passenv = *
|
||||
setenv =
|
||||
TRYTOND_DATABASE_URI={env:POSTGIS_URI:postgis://}
|
||||
|
||||
Reference in New Issue
Block a user