summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 30e398ceb..b037e3984 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,6 +34,9 @@ deps =
# Only require coverage and pytest-cov when using it
!nocover: -rrequirements/cov-requirements.txt
+
+ # Install pytest-random-order for '-randomized'
+ randomized: pytest-random-order
passenv =
ARTIFACT_CACHE_SERVICE
BST_FORCE_BACKEND
@@ -61,6 +64,7 @@ setenv =
py{35,36,37}: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
# This is required to get coverage for Cython
py{35,36,37}-!nocover: BST_CYTHON_TRACE = 1
+ randomized: PYTEST_ADDOPTS="--random-order-bucket=global"
whitelist_externals =
py{35,36,37}: