Projet

Général

Profil

0002-tox-add-test-environments-relying-on-djangorestframe.patch

Paul Marillonnet, 20 avril 2022 12:06

Télécharger (1,22 ko)

Voir les différences:

Subject: [PATCH 2/3] tox: add test environments relying on djangorestframework
 3.12 (#64289)

 tox.ini | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
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-{hobo,multipublik,multitenant,schemas,authentic,passerelle}-drf39
9
  py3-django22-coverage-{hobo,multipublik,multitenant,schemas,authentic,passerelle}-drf312
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
-