You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.2 KiB
INI
52 lines
1.2 KiB
INI
[tox]
|
|
envlist = py3-black-junit-coverage
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/imio-teleservices-templatetags/{env:BRANCH_NAME:}
|
|
|
|
[testenv]
|
|
sitepackages = false
|
|
usedevelop =
|
|
coverage: True
|
|
nocoverage: False
|
|
setenv =
|
|
DJANGO_SETTINGS_MODULE=wcs.settings
|
|
SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
WCS_SETTINGS_FILE=tests/settings.py
|
|
coverage: COVERAGE=--cov-report xml --cov-report html --cov=imio_teleservices_templatetags/
|
|
junit: JUNIT=--junitxml=junit-{envname}.xml
|
|
deps =
|
|
pytest
|
|
pytest-cov
|
|
pytest-django
|
|
WebTest
|
|
requests
|
|
vobject
|
|
qrcode
|
|
emoji
|
|
lxml
|
|
pyquery
|
|
Pillow
|
|
workalendar
|
|
python-magic
|
|
docutils
|
|
langdetect
|
|
django-ratelimit<3
|
|
git+https://git.entrouvert.org/entrouvert/debian-django-ckeditor.git
|
|
git+https://git.entrouvert.org/entrouvert/godo.js.git
|
|
pyproj
|
|
pyzbar
|
|
bleach
|
|
dnspython
|
|
phonenumbers
|
|
gadjo
|
|
Quixote>=3.0,<3.2
|
|
django>=2.2,<2.3
|
|
unidecode
|
|
psycopg2-binary
|
|
pre-commit
|
|
passenv=
|
|
USER
|
|
commands =
|
|
./get_wcs.sh
|
|
py.test {posargs: {env:JUNIT:} {env:COVERAGE:} tests/}
|
|
black: pre-commit run black --all-files --show-diff-on-failure
|