diff --git a/tox.ini b/tox.ini index 1ba170c1e6..64747dbc71 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_invoice_history/* setup.py test + coverage report --include=.*/account_invoice_history/* --omit=*/tests/* deps = + coverage {py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5 pypy3-postgresql: psycopg2cffi >= 2.5 py36-sqlite: sqlitebck