-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (31 loc) · 759 Bytes
/
tox.ini
File metadata and controls
34 lines (31 loc) · 759 Bytes
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
[tox]
envlist =
py{310,311,312,313,314}-dj{52}-pg{2,3}
py{312,313,314}-dj{60}-pg{2,3}
[gh]
python =
"3.10" = py310
"3.11" = py311
"3.12" = py312
"3.13" = py313
"3.14" = py314
[testenv]
usedevelop = true
setenv =
COVERAGE_FILE = .coverage.{envname}
PYTEST_JUNIT_XML = pytest.{envname}.xml
deps=
pytest
pytest-django
pytest-cov
pg2: psycopg2>2.9
pg3: psycopg>3.1
dj52: https://github.com/django/django/archive/stable/5.2.x.tar.gz#egg=django
dj60: https://github.com/django/django/archive/stable/6.0.x.tar.gz#egg=django
commands=
pytest --cov=django_pgviews --cov-report= --cov-append --junitxml={env:PYTEST_JUNIT_XML} {posargs}
passenv =
DB_NAME
DB_USER
DB_PASSWORD
DB_PORT