summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-12-11 15:25:34 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2022-12-11 15:25:34 -0500
commit3a5a7f33320d88363be18776a2076a19e600a593 (patch)
tree5093ae4e7d6f734363c8353f37ad30cddfaaf6d8 /tox.ini
parent264c2cf7dfc22b7e93251cfad476d444804c0fc5 (diff)
downloadalembic-3a5a7f33320d88363be18776a2076a19e600a593.tar.gz
try to restore color to pytest
the problem here is that the color codes will come out in jenkins runs. see if jenkins maybe does something with that (filters or maybe even gives us color) Change-Id: I9c8660fa85fb216cae16e18b776f34b005d3ac51
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 c9a769f..8b744d7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,7 +34,7 @@ usedevelop=
# 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 --rootdir {toxinidir}
+ BASECOMMAND=python -m pytest {tty:--color=yes} --rootdir {toxinidir}
WORKERS={env:TOX_WORKERS:-n4}
sqla079: WORKERS=--dropfirst
cov: COVERAGE={[testenv]cov_args}