-
Notifications
You must be signed in to change notification settings - Fork 20
/
tox.ini
50 lines (44 loc) · 1.09 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
# Tox (http://tox.testrun.org/) 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 = py38-dj32,
py39-dj32,
py310-dj32,
py311-dj32,
py38-dj41,
py39-dj41,
py310-dj41,
py38-dj42,
py39-dj42,
py310-dj42,
py311-dj42
# PyPy disabled per issue #69:
# https://github.com/peterbe/django-fancy-cache/issues/69
# pypy-3-dj22,
# pypy-3-dj31,
# pypy-3-dj32,
# pypy-3-dj40
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
# pypy-3.8: pypy-3
[testenv]
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
# pypy-3: pypy3
deps =
dj32: Django>=3.2.0, <4.0.0
dj41: Django>=4.1.0, <4.2.0
dj42: Django>=4.2.0, <4.3.0
mock
usedevelop = true
commands = pip install -r requirements.txt
{envpython} setup.py test