summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2016-04-24 14:41:38 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2016-04-24 14:41:38 -0400
commit84ad775202dfe546e95b079697c9f66987d87fae (patch)
tree7e0075b0c543397ab634ccb7cfb90f3e921b7bd0 /tox.ini
parente5b8641e812f81bcaf350e67968dbc68ebc74e60 (diff)
downloadalembic-84ad775202dfe546e95b079697c9f66987d87fae.tar.gz
- don't use dropfirst if -n is used. on CI the dropfirst is
colliding with other builds
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 4 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 4f8da11..25dc4f4 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