forked from jazzband/django-invitations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (47 loc) · 1.1 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[tox]
envlist =
py{38,39,310}-django{32}-backend{Basic,Allauth}
py{38,39,310,311}-django{40,41,42}-backend{Basic,Allauth}
py{310,311,312}-django{50}-backend{Basic,Allauth}
skipsdist = True
usedevelop = True
[gh-actions]
python =
3.8: py38, flake8
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[gh-actions:testenv]
DJANGO =
3.2: django32
4.0: django40
4.1: django41
4.2: django42
5.0: django50
[pytest]
python_files = tests.py test_*.py
[testenv]
description = Unit tests
setenv =
PYTHONWARNINGS = all
commands =
python -V
backendBasic: pytest --cov-report term --cov=invitations --ignore=tests/allauth/ --ds=test_settings tests
backendAllauth: pytest --cov-report term --cov=invitations --ignore=tests/basic/ --ds=test_allauth_settings tests
coverage report
deps =
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<5.0
django50: Django>=5.0rc1,<5.1
backendAllauth: django-allauth
coverage
pytest
pytest-django
pytest-cov
freezegun
whitelist_externals=
pytest
coverage