From 4707efd982da4f43833d41751c725e88da3ff6c9 Mon Sep 17 00:00:00 2001 From: eldadfux Date: Sun, 15 Mar 2026 09:03:00 +0100 Subject: [PATCH] Stop tests on failure --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4bfe432c7e..bc1206f408 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -300,7 +300,7 @@ jobs: command: >- docker compose exec -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" - appwrite test /usr/src/code/tests/unit + appwrite test /usr/src/code/tests/unit --stop-on-failure e2e_general: name: Tests / E2E / General @@ -353,7 +353,7 @@ jobs: command: >- docker compose exec -T -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" - appwrite test /usr/src/code/tests/e2e/General + appwrite test /usr/src/code/tests/e2e/General --stop-on-failure - name: Failure Logs if: failure() @@ -472,7 +472,7 @@ jobs: docker compose exec -T \ -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite vendor/bin/paratest --processes $(nproc) $FUNCTIONAL_FLAG "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml + appwrite vendor/bin/paratest --processes $(nproc) $FUNCTIONAL_FLAG "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --stop-on-failure --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml - name: Failure Logs if: failure() @@ -531,7 +531,7 @@ jobs: command: >- docker compose exec -T -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" - appwrite test /usr/src/code/tests/e2e --group=abuseEnabled + appwrite test /usr/src/code/tests/e2e --group=abuseEnabled --stop-on-failure - name: Failure Logs if: failure() @@ -597,7 +597,7 @@ jobs: command: >- docker compose exec -T -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" - appwrite test /usr/src/code/tests/e2e/Services/Sites --group=screenshots + appwrite test /usr/src/code/tests/e2e/Services/Sites --group=screenshots --stop-on-failure - name: Failure Logs if: failure()