tox: update tox.ini file (#61513)
This commit is contained in:
parent
233df53ac6
commit
150156e957
23
tox.ini
23
tox.ini
|
@ -10,8 +10,10 @@ envlist =
|
|||
|
||||
[tox:jenkins]
|
||||
envlist =
|
||||
pylint
|
||||
py3-dj22-drf3{9,12}
|
||||
check-migrations
|
||||
code-style
|
||||
pylint
|
||||
|
||||
|
||||
[testenv]
|
||||
|
@ -56,6 +58,25 @@ commands =
|
|||
./check-migrations.sh
|
||||
py.test {env:COVERAGE:} {env:JUNIT:} {tty:--sw:} {posargs:tests/}
|
||||
|
||||
[testenv:check-migrations]
|
||||
basepython = python3
|
||||
usedevelop = True
|
||||
setenv =
|
||||
DJANGO_SETTINGS_MODULE=authentic2.settings
|
||||
SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
deps =
|
||||
psycopg2-binary
|
||||
commands =
|
||||
./getlasso3.sh
|
||||
./check-migrations.sh
|
||||
|
||||
[testenv:code-style]
|
||||
skip_install = true
|
||||
deps =
|
||||
pre-commit
|
||||
commands =
|
||||
pre-commit run --all-files --show-diff-on-failure
|
||||
|
||||
[testenv:pylint]
|
||||
usedevelop = true
|
||||
basepython = python3
|
||||
|
|
Loading…
Reference in New Issue