-
Notifications
You must be signed in to change notification settings - Fork 37
/
tox.ini
33 lines (30 loc) · 906 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
[tox]
# Don't forget to update GA config when changing this
envlist = {py36, py38, py39, py310, py311}-{django2, django3}, {py38, py39, py310, py311, py312}-django4, {py310, py311, py312}-django5, py39-bandit
skip_missing_interpreters = True
[testenv]
commands = pytest {posargs}
whitelist_externals = make
deps =
-rtest-requirements.txt
django2: Django~=2.2.0 # Django 2 LTS (EOL 4/2022)
django3: Django~=3.2.0 # Django 3 LTS (EOL 4/2024)
django4: Django~=4.2.0 # Django 4 LTS (EOL 4/2026)
django5: Django~=5.0.0
# for testing with python-rpm
sitepackages = True
[testenv:py39-django3-cov]
passenv = GITHUB_*
deps=
{[testenv]deps}
pytest-cov
coveralls
usedevelop=true
commands=
pytest --cov=kobo {posargs}
coveralls
# for testing with python-rpm
sitepackages = True
[testenv:py39-bandit]
deps=-rtest-requirements.txt
commands=bandit -r . -ll --exclude ./.tox