Files
tryton/modules/ldap_authentication/tox.ini
T

18 lines
556 B
INI
Raw Normal View History

2015-01-24 19:13:56 +01:00
[tox]
envlist = {py37,py38,py39,py310}-{sqlite,postgresql}
2015-01-24 19:13:56 +01:00
[testenv]
extras = test
2021-12-13 23:10:10 +01:00
commands =
2022-12-28 00:26:31 +01:00
coverage run --include=./**/ldap_authentication/* -m unittest discover -s tests {posargs}
coverage report --include=./**/ldap_authentication/* --omit=*/tests/*
2015-01-24 19:13:56 +01:00
deps =
2021-12-13 23:10:10 +01:00
coverage
postgresql: psycopg2 >= 2.7.0
2022-12-16 23:16:08 +01:00
passenv = *
2015-01-24 19:13:56 +01:00
setenv =
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
2022-12-16 23:16:08 +01:00
sqlite: DB_NAME={env:DB_NAME::memory:}
postgresql: DB_NAME={env:DB_NAME:test}