From 31e6c2a2ec33faba115e2ab5f43d50120b00c7a3 Mon Sep 17 00:00:00 2001 From: Antonio Pancorbo <48168255+apancorb@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:43:06 +0000 Subject: [PATCH] feat(github): make gradle fail fast when running tests --- .github/workflows/build_and_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index dbfec017604..52fe8f1ecaf 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -250,7 +250,7 @@ jobs: - name: Run tests run: | - ./gradlew --no-daemon --stacktrace test + ./gradlew --no-daemon --stacktrace test --fail-fast - name: Persist test results for sonar uses: actions/upload-artifact@v4 @@ -289,7 +289,7 @@ jobs: - name: Run tests run: | - ./gradlew --no-daemon --stacktrace test + ./gradlew --no-daemon --stacktrace test --fail-fast integration-tests: needs: build @@ -314,4 +314,4 @@ jobs: - name: Run tests run: | - ./gradlew --no-daemon --stacktrace integrationTest + ./gradlew --no-daemon --stacktrace integrationTest --fail-fast