From 2edd634feeb0472b424f04398da43e53bf315276 Mon Sep 17 00:00:00 2001 From: Denis Danilov Date: Fri, 1 Nov 2024 22:54:08 +0100 Subject: [PATCH] repeat tests until they pass --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27b3e27..0834d74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,7 +77,7 @@ jobs: - name: test run: | PATH=$Qt6_BINDIR:$MinGW_BIN:$PATH - ctest --output-on-failure --test-dir $BUILD_DIR/tests + ctest --output-on-failure --test-dir $BUILD_DIR/tests --repeat until-pass:5 - name: release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') @@ -136,7 +136,7 @@ jobs: path: ${{ env.BUILD_DIR }}/soundscape-* - name: test run: | - ctest --output-on-failure --test-dir $BUILD_DIR/tests + ctest --output-on-failure --test-dir $BUILD_DIR/tests --repeat until-pass:5 - name: release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')