Skip to content

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Aug 25, 2025

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.

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya .

Although there still exists to care, this will help the stabilization. I'm working on it.

@dongjoon-hyun
Copy link
Member Author

Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-53376 branch August 25, 2025 20:33
@peter-toth
Copy link

Late LGTM.

dongjoon-hyun added a commit that referenced this pull request Aug 28, 2025
### What changes were proposed in this pull request?

This PR aims to make `Build` step to verify test compilation too.

### Why are the changes needed?

Like Apache Spark main repo, SPARK-53376 added the `Build` step before running the actual test.
- #222

However, it turns out that the test code building is not verified correctly. So, this PR aims to use the following workaround to verify test code fully without running any test.

```yaml
- run: swift build -c release
+ run: swift test --filter NOTHING -c release
```

In addition, this reduces the total runtime of CIs like the following example.

- BEFORE: 13m 43s
    - https://github.com/apache/spark-connect-swift/actions/runs/17244668737/job/48932508796
- AFTER: 11m 35s
    - https://github.com/apache/spark-connect-swift/actions/runs/17252163531/job/48956652819?pr=225

### Does this PR introduce _any_ user-facing change?

No. This is a test infra change.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #225 from dongjoon-hyun/BUILD_TEST_CODE.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants