Files
tryton/modules/authentication_sms/tox.ini
T

18 lines
554 B
INI

[tox]
envlist = {py37,py38,py39,py310}-{sqlite,postgresql}
[testenv]
extras = test
commands =
coverage run --include=./**/authentication_sms/* -m unittest discover -s tests {posargs}
coverage report --include=./**/authentication_sms/* --omit=*/tests/*
deps =
coverage
postgresql: psycopg2 >= 2.7.0
passenv = *
setenv =
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
sqlite: DB_NAME={env:DB_NAME::memory:}
postgresql: DB_NAME={env:DB_NAME:test}