forked from xelixdev/django-pgviews-redux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (30 loc) · 881 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
32
[tox]
envlist =
py{37,38,39,310}-dj{32}-pg2
py{38,39,310,311}-dj{40,41}-pg2
py{38,39,310,311}-dj{42}-pg{2,3}
[gh]
python =
"3.7" = py37
"3.8" = py38
"3.9" = py39
"3.10" = py310
"3.11" = py311
[testenv]
usedevelop = true
setenv =
DJANGO_SETTINGS_MODULE = test_project.settings.ci
changedir = {toxinidir}/tests/test_project
deps=
pg2: psycopg2>2.9
pg3: psycopg>3.1
dj32: https://github.com/django/django/archive/stable/3.2.x.tar.gz#egg=django
dj40: https://github.com/django/django/archive/stable/4.0.x.tar.gz#egg=django
dj41: https://github.com/django/django/archive/stable/4.1.x.tar.gz#egg=django
dj42: https://github.com/django/django/archive/stable/4.2.x.tar.gz#egg=django
commands=
python manage.py test {posargs:test_project.viewtest test_project.multidbtest}
passenv =
DB_NAME
DB_USER
DB_PASSWORD