From 6cc407585aa6f0c03a05b807ef29e845bea85a3e 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..8aaaab7ec4 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=.*/account_stock_continental/* setup.py test + coverage report --include=.*/account_stock_continental/* --omit=*/tests/* deps = + coverage {py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5 pypy3-postgresql: psycopg2cffi >= 2.5 py36-sqlite: sqlitebck