Files
tryton/modules/party_siret/tox.ini
T
Cédric Krier e3444ecac8 Check modules against template model
Some files in modules should always be the same as the template.
We add a CI task to check those files against a new templated version of the
module.
2023-08-12 13:52:54 +02:00

22 lines
562 B
INI

[tox]
envlist = {py38,py39,py310,py311}-{sqlite,postgresql}
[testenv]
usedevelop = true
extras = test
commands =
coverage run --omit=*/tests/* -m xmlrunner discover -s tests {posargs}
commands_post =
coverage report
coverage xml
deps =
coverage
unittest-xml-reporting
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}