Update tox.ini

master
Fabio Caccamo 2023-01-16 18:29:24 +01:00
parent a567f93136
commit 04ffe5340b
1 changed files with 11 additions and 10 deletions

21
tox.ini
View File

@ -13,6 +13,13 @@ python =
3.11: py311
[testenv]
passenv = CI,GITHUB_WORKFLOW
setenv =
sqlite: DATABASE_ENGINE=sqlite
# mysql: DATABASE_ENGINE=mysql
postgres: DATABASE_ENGINE=postgres
deps =
dj22: Django == 2.2.*
dj30: Django == 3.0.*
@ -20,18 +27,12 @@ deps =
dj32: Django == 3.2.*
dj40: Django == 4.0.*
dj41: Django == 4.1.*
# mysql: mysqlclient
postgres: psycopg2-binary
coverage
codecov
setenv =
sqlite: DATABASE_ENGINE=sqlite
# mysql: DATABASE_ENGINE=mysql
postgres: DATABASE_ENGINE=postgres
-r requirements.txt
-r requirements-test.txt
commands =
coverage run --append --source=admin_interface runtests.py
coverage report -m
codecov
coverage report --show-missing --ignore-errors
[testenv:migrations]
setenv =