From ad5839f0d1c579066de75a78f45be0e2aa2ef05c Mon Sep 17 00:00:00 2001 From: yhirose Date: Tue, 20 Jan 2026 18:43:21 -0500 Subject: [PATCH] Add retry logic to BenchmarkTest test on Windows --- .github/workflows/test.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 59c3a29..36e3610 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -165,7 +165,10 @@ jobs: run: cmake --build build --config Release -- /v:m /clp:ShowCommandLine - name: Run tests ${{ matrix.config.name }} if: ${{ matrix.config.run_tests }} - run: ctest --output-on-failure --test-dir build -C Release + run: ctest --output-on-failure --test-dir build -C Release -E "BenchmarkTest" + - name: Run benchmark tests with retry ${{ matrix.config.name }} + if: ${{ matrix.config.run_tests }} + run: ctest --output-on-failure --test-dir build -C Release -R "BenchmarkTest" --repeat until-pass:5 env: VCPKG_ROOT: "C:/vcpkg"