From b15deff203110c4bb718ce87017a1cc900a79494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 13 Dec 2021 23:10:13 +0100 Subject: [PATCH] Add coverage to tox issue7685 review51501002 --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}