diff --git a/tox.ini b/tox.ini index 51a38732f1..e20cfa99d2 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,10 @@ envlist = py36,py37,py38,py39 [testenv] -commands = {envpython} setup.py test +commands = + coverage run setup.py test + coverage report --include=./trytond_gis/* --omit=*/tests/* +deps = coverage setenv = TRYTOND_DATABASE_URI={env:POSTGIS_URI:postgis://} DB_NAME={env:POSTGIS_NAME:test}