-
Notifications
You must be signed in to change notification settings - Fork 238
/
tox.ini
28 lines (25 loc) · 682 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
# 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{38,39}-django32
py{38,39,310}-django41
py{38,39,310,311}-django42
[testenv]
deps =
django32: Django>=3.2,<4.0
django41: Django>=4.1,<4.2
django42: Django>=4.2,<5.0
-r{toxinidir}/example_project/requirements.txt
changedir =
{toxinidir}/example_project/
commands =
python manage.py test photologue
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311