barbacompta/tox.ini

36 lines
754 B
INI
Raw Normal View History

2019-02-17 11:33:59 +01:00
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/barbacompta/{env:BRANCH_NAME:}
envlist = py3-pylint
2019-02-17 11:33:59 +01:00
[testenv]
setenv =
DJANGO_SETTINGS_MODULE=eo_gestion.settings
BARBACOMPTA_SETTINGS_FILE=tests/settings.py
deps =
2021-06-17 08:50:01 +02:00
psycopg2-binary<2.9
pytest
2019-02-17 11:33:59 +01:00
pytest-cov
pytest-django
pytest-freezegun
httmock
pylint
pylint-django
django-webtest
2019-02-17 11:33:59 +01:00
django-mellon
pdbpp
uwsgidecorators
2019-02-17 11:33:59 +01:00
commands =
py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=eo_gestion/ tests/}
pylint: ./pylint.sh eo_gestion/
[testenv:manage]
2020-02-01 14:31:57 +01:00
setenv =
DJANGO_SETTINGS_MODULE=eo_gestion.settings
commands =
./manage.py {posargs:--help}
2020-02-01 14:31:57 +01:00
[pytest]
filterwarnings=
ignore:Using or importing the ABCs from
junit_family=xunit2