Prepare migration to monorepo

This commit is contained in:
Cédric Krier
2022-12-16 21:56:17 +01:00
parent 6a4d0c2e6a
commit 24e3c8a972
66 changed files with 2 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
[tox]
envlist = {py37,py38,py39,py310}-{sqlite,postgresql}
[testenv]
extras = test
commands =
coverage run --include=./**/account_consolidation/* -m unittest discover -s tests
coverage report --include=./**/account_consolidation/* --omit=*/tests/*
deps =
coverage
postgresql: psycopg2 >= 2.7.0
setenv =
sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
install_command = pip install --pre --find-links https://trydevpi.tryton.org/?local_version={env:CI_JOB_ID:{env:CI_BUILD_NUMBER:}.{env:CI_JOB_NUMBER:}} {opts} {packages}