barbacompta/tox.ini

44 lines
834 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
2019-02-17 11:33:59 +01:00
[testenv]
setenv =
DJANGO_SETTINGS_MODULE=eo_gestion.settings
BARBACOMPTA_SETTINGS_FILE=tests/settings.py
deps =
Django<2
psycopg2-binary
pytest
2019-02-17 11:33:59 +01:00
pytest-cov
pytest-django
pytest-freezegun
pylint
pylint-django
django-webtest
2019-02-17 11:33:59 +01:00
django-mellon
pdbpp
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/}
2020-02-01 14:31:57 +01:00
[testenv:runserver]
setenv =
DJANGO_SETTINGS_MODULE=eo_gestion.settings
commands =
./manage.py runserver
[testenv:pylint]
basepython = python3
deps=
django>=1.11,<1.12
pylint
pylint-django
uwsgidecorators
commands =
./pylint.sh eo_gestion/
[pytest]
filterwarnings=
ignore:Using or importing the ABCs from
junit_family=xunit2