-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
35 lines (33 loc) · 820 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
33
34
35
[tox]
envlist =
dj32-py{36, 39} # EOL 01 Apr 2024
dj42-py{39, 312} # EOL 01 Apr 2026
skip_missing_interpreters = true
[testenv]
passenv =
DATABASE_URL
PIP_EXTRA_INDEX_URL
usedevelop = true
deps =
coverage
dj32: psycopg2-binary<3
dj42: psycopg>=3
tblib
extras =
admin
competition
content
news
test
changedir = tests
commands =
coverage run manage.py test {posargs:touchtechnology.common touchtechnology.admin touchtechnology.content touchtechnology.news tournamentcontrol.competition}
docker = db
install_command =
dj32: python -m pip install 'Django~=3.2.0' {opts} {packages}
dj42: python -m pip install 'Django~=4.2.0' {opts} {packages}
[docker:db]
image = postgres:12-alpine
environment =
POSTGRES_USER=vitriolic
POSTGRES_PASSWORD=vitriolic