From 8adb7db88e7190e5014d90fd67c4366ee9d6302e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Franch?= Date: Thu, 8 Oct 2026 22:31:54 +0200 Subject: [PATCH] ci: repeat the tests three times on main only Co-Authored-By: Claude --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68dcab35c..e7ef3d08f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -111,7 +111,7 @@ jobs: with: path: ${{ github.workspace }}/.ccache key: ccache-linux-${{ github.run_id }}-${{ github.run_attempt }} - - run: ctest --test-dir build --output-on-failure --timeout 120 --repeat until-fail:3 --parallel 4 --output-log ctest.log + - run: ctest --test-dir build --output-on-failure --timeout 120 ${{ github.event_name == 'push' && '--repeat until-fail:3' || '' }} --parallel 4 --output-log ctest.log env: ANYPS5_REQUIRE_VULKAN: 1 GALLIUM_OVERRIDE_CPU_CAPS: avx @@ -170,7 +170,7 @@ jobs: path: ${{ github.workspace }}\.ccache key: ccache-windows-${{ github.run_id }}-${{ github.run_attempt }} - shell: cmd - run: ctest --test-dir build --output-on-failure --timeout 120 --repeat until-fail:3 --parallel 4 --output-log ctest.log + run: ctest --test-dir build --output-on-failure --timeout 120 ${{ github.event_name == 'push' && '--repeat until-fail:3' || '' }} --parallel 4 --output-log ctest.log - name: Report tests slower than 30 s if: ${{ !cancelled() }} shell: bash