Files

18 lines
731 B
INI
Raw Permalink Normal View History

2026-07-22 20:03:17 -04:00
[tox]
2026-09-30 18:42:16 -04:00
envlist = {py38,py39,py310,py311}-{sqlite,postgresql}
2026-07-22 20:03:17 -04:00
[testenv]
extras = test
commands =
coverage run --include=./**/account_credit_note/* -m unittest discover -s tests
coverage report --include=./**/account_credit_note/* --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:}}&mirror=github {opts} {packages}