0002-tox-add-test-environments-relying-on-djangorestframe.patch
tox.ini | ||
---|---|---|
4 | 4 |
# and then run "tox" from this directory. |
5 | 5 |
[tox] |
6 | 6 |
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/hobo/{env:BRANCH_NAME:} |
7 |
envlist = py3-django22-coverage-{hobo,multipublik,multitenant,schemas,authentic,passerelle},py3-black |
|
7 |
envlist = |
|
8 |
py3-django22-drf39-{hobo,multipublik,multitenant,schemas,authentic,passerelle} |
|
9 |
py3-django22-drf312-coverage-{hobo,multipublik,multitenant,schemas,authentic,passerelle} |
|
10 |
py3-black |
|
8 | 11 | |
9 | 12 |
[testenv] |
10 | 13 |
usedevelop = True |
... | ... | |
31 | 34 |
coverage: COVERAGE=--cov-report xml:coverage-{envname}.xml --cov-report html:htmlcov-{envname} --cov=hobo/ --cov-config .coveragerc |
32 | 35 |
fast: NOMIGRATIONS=--nomigrations |
33 | 36 |
deps: |
37 |
drf39: djangorestframework>=3.9.2,<3.10 |
|
38 |
drf312: djangorestframework>=3.12,<3.13 |
|
34 | 39 |
django22: django>=2.2,<2.3 |
35 | 40 |
pytest!=6.0.0 |
36 | 41 |
pytest-cov |
37 |
- |