forked from jazzband/django-user-sessions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (37 loc) · 745 Bytes
/
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
[tox]
; Minimum version of Tox
minversion = 1.8
envlist =
py{36,37,38,39}-dj{22,30,31}
py{38,39}-djmain
flake8
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, flake8
3.9: py39
[gh-actions:env]
DJANGO =
2.2: dj22
3.0: dj30
3.1: dj31
main: djmain
[testenv]
commands =
coverage run {envbindir}/django-admin test -v 2 --pythonpath=./ --settings=tests.settings
coverage report
coverage xml
deps =
coverage
dj22: Django<2.3
dj30: Django<3.1
dj31: Django<3.2
djmain: https://github.com/django/django/archive/main.tar.gz
ignore_outcome =
djmain: True
whitelist_externals = make
[testenv:flake8]
basepython = python3.8
deps = flake8
commands = flake8 user_sessions