diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 546c2e2d20d249b94277beb394e3f24fc2232e83..441c42ad47dcc805e4679f521fa61da2d39be6c3 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -92,8 +92,10 @@ endif()
 # cmake-format: off
 # Add make-target tests which runs the testrunner
 if(IS_CI AND NOT OGS_COVERAGE)
+    set(OGS_CI_TESTRUNNER_REPEAT 3 CACHE STRING "The number of testrunner "
+        "repeats for the tests target")
     set(TESTRUNNER_ADDITIONAL_ARGUMENTS ${TESTRUNNER_ADDITIONAL_ARGUMENTS}
-        --gtest_shuffle --gtest_repeat=3)
+        --gtest_shuffle --gtest_repeat=${OGS_CI_TESTRUNNER_REPEAT})
 endif()
 set(TESTRUNNER_ADDITIONAL_ARGUMENTS ${TESTRUNNER_ADDITIONAL_ARGUMENTS}
     -l warn
diff --git a/scripts/ci/jobs/build-win.yml b/scripts/ci/jobs/build-win.yml
index f27edf8c4f07c1380da6512f6376242fa0c5fbc2..aab1df16656324741abfef63236209ac7e95009f 100644
--- a/scripts/ci/jobs/build-win.yml
+++ b/scripts/ci/jobs/build-win.yml
@@ -15,7 +15,8 @@ build win:
       cmake .. -G Ninja `
         -DCMAKE_BUILD_TYPE=Release `
         -DOGS_BUILD_PROCESSES=GroundwaterFlow `
-        -DOGS_USE_PYTHON=ON
+        -DOGS_USE_PYTHON=ON `
+        -DOGS_CI_TESTRUNNER_REPEAT=1
     - cmake --build .
     - cmake --build . --target tests
     - cmake --build . --target ctest
diff --git a/scripts/ci/jobs/gui.yml b/scripts/ci/jobs/gui.yml
index 248f2dbcaccc7f8fb0e923f16c1391a7153730fc..a1f06895920b2f8c8d1af4bfb90fcb484309938b 100644
--- a/scripts/ci/jobs/gui.yml
+++ b/scripts/ci/jobs/gui.yml
@@ -20,7 +20,8 @@ gui win:
         -DOGS_BUILD_GUI=ON `
         -DOGS_BUILD_UTILS=ON `
         -DOGS_BUILD_SWMM=ON `
-        -DOGS_USE_NETCDF=ON
+        -DOGS_USE_NETCDF=ON `
+        -DOGS_CI_TESTRUNNER_REPEAT=1
     - cmake --build . --target tests
     - cmake --build . --target ctest
     - cp Testing/**/Test.xml Tests/ctest.xml