We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8368772 commit d1e5bcdCopy full SHA for d1e5bcd
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=$(shuf -i 1-4294967295 -n 1)
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