forked from vintasoftware/django-ai-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (29 loc) · 729 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]
requires =
tox>=4
envlist =
# Django official Python support
# Source: https://docs.djangoproject.com/en/5.1/faq/install/#what-python-version-can-i-use-with-django
{py310,py311,py312}-{django42,django50,django51}
[gh]
python =
3.10 = py310-{django42,django50}
3.11 = py311-{django42,django50}
3.12 = py312-{django42,django50}
[testenv]
description = run tests
basepython =
py310: python3.10
py311: python3.11
py312: python3.12
deps =
poetry
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
passenv =
OPENAI_API_KEY
commands_pre =
poetry install --with dev
commands =
poetry run pytest --cov=django_ai_assistant {posargs}