0002-tox-add-test-environments-relying-on-djangorestframe.patch
tox.ini | ||
---|---|---|
1 | 1 |
[tox] |
2 |
envlist = py3-django22-black-coverage-pylint |
|
2 |
envlist = |
|
3 |
py3-django22-black-coverage-pylint-drf39 |
|
4 |
py3-django22-black-coverage-pylint-drf312 |
|
3 | 5 |
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:} |
4 | 6 | |
5 | 7 |
[testenv] |
... | ... | |
27 | 29 |
lxml |
28 | 30 |
git+https://git.entrouvert.org/debian/django-ckeditor.git |
29 | 31 |
black: pre-commit |
32 |
drf39: djangorestframework>=3.9.2,<3.10 |
|
33 |
drf312: djangorestframework>=3.12,<3.13 |
|
30 | 34 |
commands = |
31 | 35 |
pylint: ./pylint.sh welco/ |
32 | 36 |
py.test {env:COVERAGE:} {posargs:tests/} |
33 |
- |