tox.ini: add modifier to disable --sw
This commit is contained in:
parent
6c8091dbc1
commit
af57083fc8
4
tox.ini
4
tox.ini
|
@ -43,7 +43,7 @@ setenv =
|
|||
COVERAGE={tty::--cov=src --cov-branch --cov-append --cov-report xml --cov-report html}
|
||||
fast: FAST=--nomigrations
|
||||
reusedb: REUSEDB=--reuse-db
|
||||
|
||||
!nosw: SW={tty:--sw:}
|
||||
passenv=
|
||||
BRANCH_NAME
|
||||
# support for pg_virtualenv
|
||||
|
@ -84,7 +84,7 @@ commands =
|
|||
py2: ./getlasso.sh
|
||||
py3: ./getlasso3.sh
|
||||
authentic: ./check-migrations.sh
|
||||
rbac,authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:JUNIT:} {tty:--sw:} {posargs:{env:TESTS} --random-group}
|
||||
rbac,authentic: py.test {env:FAST:} {env:REUSEDB:} {env:COVERAGE:} {env:JUNIT:} {env:SW:} {posargs:{env:TESTS} --random-group}
|
||||
|
||||
[testenv:pylint]
|
||||
basepython = python2.7
|
||||
|
|
Loading…
Reference in New Issue