diff options
| -rw-r--r-- | tox.ini | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -40,8 +40,10 @@ whitelist_externals=sh setenv= PYTHONPATH= PYTHONNOUSERSITE=1 - BASECOMMAND=python -m pytest -n4 --dropfirst + BASECOMMAND=python -m pytest --dropfirst + WORKERS=-n4 + oracle: WORKERS=-n2 nocext: DISABLE_SQLALCHEMY_CEXT=1 cov: COVERAGE={[testenv]cov_args} sqlite: SQLITE=--db sqlite @@ -59,7 +61,7 @@ passenv=ORACLE_HOME NLS_LANG # for nocext, we rm *.so in lib in case we are doing usedevelop=True commands= {nocext}: sh -c "rm -f lib/sqlalchemy/*.so" - {env:BASECOMMAND} {env:SQLITE:} {env:POSTGRESQL:} {env:MYSQL:} {env:ORACLE:} {env:MSSQL:} {env:BACKENDONLY:} {env:COVERAGE:} {posargs} + {env:BASECOMMAND} {env:WORKERS} {env:SQLITE:} {env:POSTGRESQL:} {env:MYSQL:} {env:ORACLE:} {env:MSSQL:} {env:BACKENDONLY:} {env:COVERAGE:} {posargs} {oracle}: python reap_oracle_dbs.py |
