From a8540f7528aa7bd0afb9c1807e4051cf3f07cfa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 13 Dec 2021 23:10:09 +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 1ba170c1e6..1d6cbe6d76 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,11 @@ envlist = {py36,py37,py38,py39}-{sqlite,postgresql},pypy3-{sqlite,postgresql} [testenv] -commands = {envpython} setup.py test +commands = + coverage run --include=.*/analytic_purchase/* setup.py test + coverage report --include=.*/analytic_purchase/* --omit=*/tests/* deps = + coverage {py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5 pypy3-postgresql: psycopg2cffi >= 2.5 py36-sqlite: sqlitebck