From a037eb7aeb6d9d39c817c4c523852d7a90e11bb9 Mon Sep 17 00:00:00 2001 From: jeremie du boisberranger Date: Mon, 11 Apr 2022 15:13:19 +0200 Subject: [PATCH] enable global dtype on all nightly build jobs --- build_tools/azure/test_script.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build_tools/azure/test_script.sh b/build_tools/azure/test_script.sh index 998a1e4628086..bff92fdc4b809 100755 --- a/build_tools/azure/test_script.sh +++ b/build_tools/azure/test_script.sh @@ -20,6 +20,11 @@ if [[ "$BUILD_REASON" == "Schedule" ]]; then # only on nightly builds. # https://scikit-learn.org/stable/computing/parallelism.html#environment-variables export SKLEARN_TESTS_GLOBAL_RANDOM_SEED="any" + + # Enable global dtype fixture for all nightly builds to discover + # numerical-sensitive tests. + # https://scikit-learn.org/stable/computing/parallelism.html#environment-variables + export SKLEARN_RUN_FLOAT32_TESTS=1 fi mkdir -p $TEST_DIR