mirror of
https://github.com/NaN-tic/trytond-production_process.git
synced 2023-12-14 05:53:01 +01:00
19 lines
461 B
INI
19 lines
461 B
INI
[tox]
|
|
envlist = py37-sqlite, stats
|
|
|
|
[testenv]
|
|
basepython=python3.7
|
|
commands = coverage run setup.py test
|
|
deps =
|
|
sqlite: sqlitebck
|
|
coverage
|
|
setenv =
|
|
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
|
|
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
|
install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}
|
|
|
|
[testenv:stats]
|
|
basepython=python3.7
|
|
commands =
|
|
coverage report --omit=.tox/*
|
|
coverage xml
|