Update tox.ini
parent
a567f93136
commit
04ffe5340b
21
tox.ini
21
tox.ini
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Reference in New Issue