You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2025/08/25 20:33:10 UTC

(spark-connect-swift) branch main updated: [SPARK-53376] Run Swift `build` first before running `test`

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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-connect-swift.git


The following commit(s) were added to refs/heads/main by this push:
     new 94aeb05  [SPARK-53376] Run Swift `build` first before running `test`
94aeb05 is described below

commit 94aeb05faaee72a15ae9cd74f9c6aec41ff8cc01
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Mon Aug 25 13:33:03 2025 -0700

    [SPARK-53376] Run Swift `build` first before running `test`
    
    ### What changes were proposed in this pull request?
    
    This PR aims to build `Swift` code first before running `test`.
    
    ### Why are the changes needed?
    
    Like `Apache Spark` main repository, we had better stabilize the CIs by isolating any compilation failures first before running the tests.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #222 from dongjoon-hyun/SPARK-53376.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 .github/workflows/build_and_test.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml
index 03240b9..e0b19f9 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -101,6 +101,8 @@ jobs:
     - uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
       with:
         swift-version: "6.1"
+    - name: Build
+      run: swift build -c release
     - name: Test
       run: |
         curl -LO https://dist.apache.org/repos/dist/dev/spark/v4.1.0-preview1-rc1-bin/spark-4.1.0-preview1-bin-hadoop3.tgz
@@ -119,6 +121,8 @@ jobs:
     - uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
       with:
         swift-version: "6.1"
+    - name: Build
+      run: swift build -c release
     - name: Test
       run: |
         curl -LO https://www.apache.org/dyn/closer.lua/spark/spark-4.0.0/spark-4.0.0-bin-hadoop3.tgz?action=download
@@ -139,6 +143,8 @@ jobs:
     - uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
       with:
         swift-version: "6.1"
+    - name: Build
+      run: swift build -c release
     - name: Test
       run: |
         curl -LO https://www.apache.org/dyn/closer.lua/spark/spark-4.0.0/spark-4.0.0-bin-hadoop3.tgz?action=download
@@ -162,6 +168,8 @@ jobs:
       with:
         distribution: zulu
         java-version: 17
+    - name: Build
+      run: swift build -c release
     - name: Test
       run: |
         curl -LO https://www.apache.org/dyn/closer.lua/spark/spark-3.5.6/spark-3.5.6-bin-hadoop3.tgz?action=download
@@ -187,6 +195,8 @@ jobs:
       with:
         distribution: zulu
         java-version: 17
+    - name: Build
+      run: swift build -c release
     - name: Test
       run: |
         curl -LO https://www.apache.org/dyn/closer.lua/spark/spark-3.5.6/spark-3.5.6-bin-hadoop3.tgz?action=download


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org