Add coverage to tox
issue7685 review51501002
This commit is contained in:
@@ -2,8 +2,11 @@
|
||||
envlist = {py36,py37,py38,py39}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
|
||||
|
||||
[testenv]
|
||||
commands = {envpython} setup.py test
|
||||
commands =
|
||||
coverage run --include=.*/party_avatar/* setup.py test
|
||||
coverage report --include=.*/party_avatar/* --omit=*/tests/*
|
||||
deps =
|
||||
coverage
|
||||
{py36,py37,py38,py39}-postgresql: psycopg2 >= 2.5
|
||||
pypy3-postgresql: psycopg2cffi >= 2.5
|
||||
py36-sqlite: sqlitebck
|
||||
|
||||
Reference in New Issue
Block a user