-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
34 lines (31 loc) · 744 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
[tox]
requires =
tox>=4.2
env_list =
allianceauth-{latest, testing}
py{312, 311, 310}
no_package = true
usedevelop = True
[testenv]
deps =
coverage
pass_env =
DB_HOST
DB_PASSWORD
DB_PORT
DB_USER
USE_MYSQL
commands =
coverage run runtests.py aa_discord_announcements -v 2 --debug-mode
coverage report -m
coverage xml
[testenv:allianceauth-latest]
set_env =
DJANGO_SETTINGS_MODULE = testauth.settings.local
install_command =
python -m pip install -e ".[tests-allianceauth-latest]" -U {opts} {packages}
[testenv:allianceauth-testing]
set_env =
DJANGO_SETTINGS_MODULE = testauth.local
install_command =
python -m pip install -e ".[tests-allianceauth-testing]" -U {opts} {packages}