This is an automated email from the ASF dual-hosted git repository.

maciej pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new 7361e6fe0 fix(ci): ensure SDK e2e tests fail when server build fails 
(#2509)
7361e6fe0 is described below

commit 7361e6fe06b7152c7a5249a6ea3d8cefa4064d72
Author: Hubert Gruszecki <[email protected]>
AuthorDate: Wed Dec 24 08:23:17 2025 +0100

    fix(ci): ensure SDK e2e tests fail when server build fails (#2509)
---
 .github/actions/go/pre-merge/action.yml          | 7 ++++++-
 .github/actions/java-gradle/pre-merge/action.yml | 3 +--
 .github/actions/node-npm/pre-merge/action.yml    | 3 +--
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/.github/actions/go/pre-merge/action.yml 
b/.github/actions/go/pre-merge/action.yml
index 06c0bd855..6bcff99b5 100644
--- a/.github/actions/go/pre-merge/action.yml
+++ b/.github/actions/go/pre-merge/action.yml
@@ -119,10 +119,15 @@ runs:
         # Build the module
         go build -v ./...
 
+    - name: Setup Rust with cache for e2e
+      if: inputs.task == 'e2e'
+      uses: ./.github/actions/utils/setup-rust-with-cache
+      with:
+        cache-targets: false
+
     - name: Setup server for e2e tests
       if: inputs.task == 'e2e'
       uses: ./.github/actions/utils/server-start
-      continue-on-error: true
 
     - name: Run e2e tests
       shell: bash
diff --git a/.github/actions/java-gradle/pre-merge/action.yml 
b/.github/actions/java-gradle/pre-merge/action.yml
index be8fe8974..a8ddec1db 100644
--- a/.github/actions/java-gradle/pre-merge/action.yml
+++ b/.github/actions/java-gradle/pre-merge/action.yml
@@ -71,7 +71,6 @@ runs:
       if: inputs.task == 'test'
       id: iggy
       uses: ./.github/actions/utils/server-start
-      continue-on-error: true
 
     - name: Test
       if: inputs.task == 'test'
@@ -97,7 +96,7 @@ runs:
         fi
 
     - name: Stop Iggy server
-      if: inputs.task == 'test'
+      if: always() && inputs.task == 'test'
       uses: ./.github/actions/utils/server-stop
       with:
         pid-file: ${{ steps.iggy.outputs.pid_file }}
diff --git a/.github/actions/node-npm/pre-merge/action.yml 
b/.github/actions/node-npm/pre-merge/action.yml
index 07adb0723..bb4ff3972 100644
--- a/.github/actions/node-npm/pre-merge/action.yml
+++ b/.github/actions/node-npm/pre-merge/action.yml
@@ -86,7 +86,6 @@ runs:
       uses: ./.github/actions/utils/server-start
       env:
         IGGY_CLUSTER_ENABLED: true
-      continue-on-error: true
 
     - name: E2E tests
       if: inputs.task == 'e2e'
@@ -99,7 +98,7 @@ runs:
       shell: bash
 
     - name: Stop Iggy server
-      if: inputs.task == 'e2e'
+      if: always() && inputs.task == 'e2e'
       uses: ./.github/actions/utils/server-stop
       with:
         pid-file: ${{ steps.iggy.outputs.pid_file }}

Reply via email to