0007-Test-drf-3.9-under-django-2-and-drf-3.12-under-cjang.patch
Jenkinsfile | ||
---|---|---|
14 | 14 |
utils = new Utils() |
15 | 15 |
utils.publish_coverage('coverage-*.xml') |
16 | 16 |
utils.publish_coverage_native( |
17 |
'index.html', 'htmlcov-py3-django22-drf312-coverage-authentic', 'Coverage authentic tests')
|
|
17 |
'index.html', 'htmlcov-py3-django22-coverage-authentic', 'Coverage authentic tests') |
|
18 | 18 |
utils.publish_coverage_native( |
19 |
'index.html', 'htmlcov-py3-django22-drf312-coverage-hobo', 'Coverage hobo tests')
|
|
19 |
'index.html', 'htmlcov-py3-django22-coverage-hobo', 'Coverage hobo tests') |
|
20 | 20 |
utils.publish_coverage_native( |
21 |
'index.html', 'htmlcov-py3-django22-drf312-coverage-multipublik', 'Coverage multipublik tests')
|
|
21 |
'index.html', 'htmlcov-py3-django22-coverage-multipublik', 'Coverage multipublik tests') |
|
22 | 22 |
utils.publish_coverage_native( |
23 |
'index.html', 'htmlcov-py3-django22-drf312-coverage-multitenant', 'Coverage multitenant tests')
|
|
23 |
'index.html', 'htmlcov-py3-django22-coverage-multitenant', 'Coverage multitenant tests') |
|
24 | 24 |
utils.publish_coverage_native( |
25 |
'index.html', 'htmlcov-py3-django22-drf312-coverage-passerelle', 'Coverage passerelle tests')
|
|
25 |
'index.html', 'htmlcov-py3-django22-coverage-passerelle', 'Coverage passerelle tests') |
|
26 | 26 |
utils.publish_pylint('pylint.out') |
27 | 27 |
} |
28 | 28 |
mergeJunitResults() |
tox.ini | ||
---|---|---|
35 | 35 |
coverage: COVERAGE=--cov-report xml:coverage-{envname}.xml --cov-report html:htmlcov-{envname} --cov=hobo/ --cov-config .coveragerc |
36 | 36 |
fast: NOMIGRATIONS=--nomigrations |
37 | 37 |
deps: |
38 |
drf39: djangorestframework>=3.9.2,<3.10 |
|
39 |
drf312: djangorestframework>=3.12,<3.13 |
|
38 |
django22: djangorestframework>=3.9.2,<3.10 |
|
40 | 39 |
django22: django>=2.2,<2.3 |
40 |
django32: djangorestframework>=3.12,<3.13 |
|
41 | 41 |
django32: django>=3.2,<3.3 |
42 | 42 |
pytest!=6.0.0 |
43 | 43 |
pytest-cov |
44 |
- |