We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8368772 commit b002752Copy full SHA for b002752
ci/script_multi.sh
@@ -17,6 +17,12 @@ if [ -n "$LOCALE_OVERRIDE" ]; then
17
python -c "$pycmd"
18
fi
19
20
+# Workaround for pytest-xdist flaky collection order
21
+# https://github.com/pytest-dev/pytest/issues/920
22
+# https://github.com/pytest-dev/pytest/issues/1075
23
+export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))')
24
+echo PYTHONHASHSEED=$PYTHONHASHSEED
25
+
26
if [ "$BUILD_TEST" ]; then
27
echo "We are not running pytest as this is simply a build test."
28
elif [ "$COVERAGE" ]; then
0 commit comments