From 7dd0fe3db40a7b2a300394f35e1543ac0ec8b429 Mon Sep 17 00:00:00 2001 From: Andrey Yegorov Date: Tue, 6 Jun 2023 15:25:16 -0700 Subject: [PATCH] Fail integration tests if no tests found --- .github/workflows/bk-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bk-ci.yml b/.github/workflows/bk-ci.yml index 9d37b87692e..2a3a459c516 100644 --- a/.github/workflows/bk-ci.yml +++ b/.github/workflows/bk-ci.yml @@ -326,14 +326,14 @@ jobs: run: mvn -B -nsu clean install -Pdocker -DskipTests - name: Test current server with old clients - run: mvn -B -nsu -DbackwardCompatTests -pl :backward-compat-current-server-old-clients test + run: mvn -B -nsu -DbackwardCompatTests -DfailIfNoTests -pl :backward-compat-current-server-old-clients test - name: Test progressive upgrade - run: mvn -B -nsu -DbackwardCompatTests -pl :upgrade test + run: mvn -B -nsu -DbackwardCompatTests -DfailIfNoTests -pl :upgrade test - name: Other tests run: | - mvn -B -nsu -DbackwardCompatTests -pl :bc-non-fips,:hierarchical-ledger-manager,:hostname-bookieid,:old-cookie-new-cluster,:recovery-no-password,:upgrade-direct test + mvn -B -nsu -DbackwardCompatTests -DfailIfNoTests -pl :bc-non-fips,:hierarchical-ledger-manager,:hostname-bookieid,:old-cookie-new-cluster,:recovery-no-password,:upgrade-direct test - name: Upload container logs on failure uses: actions/upload-artifact@v4