summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorCaselIT <cfederico87@gmail.com>2021-01-19 15:43:32 -0500
committersqla-tester <sqla-tester@sqlalchemy.org>2021-01-19 15:43:32 -0500
commite43d175233f206336c0637488e9ed231f421539a (patch)
tree023f2d0fa6a08a542b4e0efc4513baab024cfc5b /tox.ini
parentf902d0c7d9975bacd5ccf5caebc69d2bda66dfc8 (diff)
downloadalembic-e43d175233f206336c0637488e9ed231f421539a.tar.gz
Fix workflow test window fail
Need to disable asyncio before calling into pytest session start or windows will fails randomly. Closes: #783 Pull-request: https://github.com/sqlalchemy/alembic/pull/783 Pull-request-sha: c92f7a2c0460899c942fcc668cbffe672b59df01 Change-Id: I9026334db651aa977fbc809494f449e38ca16a6f
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index fd1ce31..01c695a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,7 +34,7 @@ usedevelop=
# if -n is used, we're working in brand new DBs anyway
setenv=
BASECOMMAND=python -m pytest --rootdir {toxinidir}
- WORKERS=-n4
+ WORKERS={env:TOX_WORKERS:-n4}
sqla079: WORKERS=--dropfirst
cov: COVERAGE={[testenv]cov_args}
sqlite: SQLITE={env:TOX_SQLITE:--db sqlite}