From: Mike Bayer Date: Sun, 24 Apr 2016 18:41:38 +0000 (-0400) Subject: - don't use dropfirst if -n is used. on CI the dropfirst is X-Git-Tag: rel_0_8_7~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84ad775202dfe546e95b079697c9f66987d87fae;p=thirdparty%2Fsqlalchemy%2Falembic.git - don't use dropfirst if -n is used. on CI the dropfirst is colliding with other builds --- diff --git a/tox.ini b/tox.ini index 4f8da111..25dc4f4c 100644 --- a/tox.ini +++ b/tox.ini @@ -25,10 +25,12 @@ deps=pytest sitepackages=True usedevelop=True +# only use --dropfirst option if we're *not* using -n; +# if -n is used, we're working in brand new DBs anyway setenv= - BASECOMMAND=python -m pytest --dropfirst + BASECOMMAND=python -m pytest WORKERS=-n4 - sqla079: WORKERS= + sqla079: WORKERS=--dropfirst oracle: WORKERS=-n2 cov: COVERAGE={[testenv]cov_args} sqlite: SQLITE=--db sqlite