-
Notifications
You must be signed in to change notification settings - Fork 70
/
tox.ini
31 lines (28 loc) · 874 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
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py{37,38,39,310}-django{32}-drf{312,313,314}
py{38,39,310}-django{40,41}-drf{312,313,314,master}
[testenv]
commands =
make install-quite
pip freeze
make check
deps =
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
drf312: djangorestframework>=3.12,<3.13
drf313: djangorestframework>=3.13,<3.14
drf314: djangorestframework>=3.14,<3.15
drfmaster: https://github.com/encode/django-rest-framework/archive/master.tar.gz
whitelist_externals =
make
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310