enabled django 3.2 testing in tox file (#68060)
This commit is contained in:
parent
f0c32435c6
commit
3d9481f67d
6
setup.py
6
setup.py
|
@ -108,11 +108,11 @@ setup(
|
||||||
'Programming Language :: Python',
|
'Programming Language :: Python',
|
||||||
],
|
],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'django>=2.2,<2.3',
|
'django>=2.2,<3.3',
|
||||||
'gadjo',
|
'gadjo',
|
||||||
'django-ckeditor<4.5.4',
|
'django-ckeditor<4.5.4',
|
||||||
'django-haystack<2.8',
|
'django-haystack<3.2',
|
||||||
'django-taggit',
|
'django-taggit<3',
|
||||||
'djangorestframework>=3.3,<3.13',
|
'djangorestframework>=3.3,<3.13',
|
||||||
'requests',
|
'requests',
|
||||||
'whoosh',
|
'whoosh',
|
||||||
|
|
9
tox.ini
9
tox.ini
|
@ -1,7 +1,8 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py3-django22-black-coverage-pylint-drf39
|
py3-django22-drf39
|
||||||
py3-django22-black-coverage-pylint-drf312
|
py3-django22-drf312
|
||||||
|
py3-django32-black-coverage-pylint-drf312
|
||||||
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:}
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/welco/{env:BRANCH_NAME:}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -15,6 +16,8 @@ setenv =
|
||||||
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=welco/
|
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=welco/
|
||||||
deps =
|
deps =
|
||||||
django22: django>=2.2,<2.3
|
django22: django>=2.2,<2.3
|
||||||
|
django32: django>=3.2,<3.3
|
||||||
|
django22: django-haystack<2.8
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-django
|
pytest-django
|
||||||
pytest!=5.3.3
|
pytest!=5.3.3
|
||||||
|
@ -29,7 +32,7 @@ deps =
|
||||||
lxml
|
lxml
|
||||||
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
git+https://git.entrouvert.org/debian/django-ckeditor.git
|
||||||
black: pre-commit
|
black: pre-commit
|
||||||
drf39: djangorestframework>=3.9.2,<3.10
|
drf39: djangorestframework>=3.9,<3.10
|
||||||
drf312: djangorestframework>=3.12,<3.13
|
drf312: djangorestframework>=3.12,<3.13
|
||||||
commands =
|
commands =
|
||||||
pylint: ./pylint.sh welco/
|
pylint: ./pylint.sh welco/
|
||||||
|
|
Loading…
Reference in New Issue