wcs/tox.ini

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1.2 KiB
INI
Raw Normal View History

2016-03-29 18:52:09 +02:00
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs/{env:BRANCH_NAME:main}/{env:EXECUTOR_NUMBER:}
2021-03-19 11:34:18 +01:00
envlist = py3-django111-codestyle-pylint-coverage, py3-django22
2016-03-29 18:52:09 +02:00
[testenv]
2019-09-26 15:25:12 +02:00
sitepackages = true
2016-03-29 18:52:09 +02:00
setenv =
SETUPTOOLS_USE_DISTUTILS=stdlib
2019-09-26 15:25:12 +02:00
PYTHONPATH={toxinidir}{:}{env:PYTHONPATH:}
PYTHONHASHSEED=0
DJANGO_SETTINGS_MODULE=wcs.settings
WCS_SETTINGS_FILE=tests/settings.py
2019-09-26 15:25:12 +02:00
LC_ALL=C
LC_TIME=C
LANG=C
coverage: COVERAGE=--cov-report xml --cov-report html --cov=wcs/ --cov-config .coveragerc -v
2016-03-29 18:52:09 +02:00
passenv =
USER
deps =
pytest>=3.6
2016-03-29 18:52:09 +02:00
pytest-mock
pytest-cov
2019-09-26 15:25:12 +02:00
pytest-django
pytest-freezegun
2016-03-29 18:52:09 +02:00
WebTest
mechanize
2019-09-26 15:25:12 +02:00
gadjo
2016-03-29 18:52:09 +02:00
pyquery
mock<4
2019-11-12 18:56:48 +01:00
requests
vobject
qrcode
Pillow
workalendar
2019-11-12 18:56:48 +01:00
python-magic
docutils
langdetect
2019-09-26 15:25:12 +02:00
git+https://git.entrouvert.org/debian/django-ckeditor.git
django111: django>=1.11,<1.12
django22: django>=2.2,<2.3
2019-09-26 15:25:12 +02:00
django-ratelimit<3
pyproj
pylint
Quixote>=3.0,<3.2
pre-commit
2016-03-29 18:52:09 +02:00
commands =
py.test -v {env:COVERAGE:} --junitxml=junit-{envname}.xml {posargs:tests/}
2021-04-01 16:47:57 +02:00
pylint: ./pylint.sh wcs/ tests/
2021-03-19 11:34:18 +01:00
codestyle: pre-commit run --all-files --show-diff-on-failure