Skip to content

Commit b37890e

Browse files
committed
[SPARK-52125] Create a daily linux integration test GitHub Action job
### What changes were proposed in this pull request? This PR aims to add a daily linux integration test GitHub Action job in order to move `linux-integration-test` into it while keeping `build-ubuntu-latest` and `build-ubuntu-arm`. ### Why are the changes needed? To isolate the linux flakiness from the main PR builder and commit builder. Instead, this dedicated GitHub Action job will focus on the linux integration independently. ### Does this PR introduce _any_ user-facing change? No. This is a test-infra change. ### How was this patch tested? This PR will not trigger `integration-test-linux` job. <img width="576" alt="Screenshot 2025-05-13 at 20 50 14" src="https://github.com/user-attachments/assets/f24e9835-73d0-42a4-bd04-8c9049e9d444" /> ### Was this patch authored or co-authored using generative AI tooling? No. Closes #146 from dongjoon-hyun/SPARK-52125. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 1d83886 commit b37890e

File tree

2 files changed

+45
-19
lines changed

2 files changed

+45
-19
lines changed

.github/workflows/build_and_test.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -78,25 +78,6 @@ jobs:
7878
docker run swift:6.1 uname -a
7979
docker run -v $PWD:/spark -w /spark swift:6.1 swift build -c release
8080
81-
integration-test-linux:
82-
runs-on: ubuntu-latest
83-
env:
84-
SPARK_REMOTE: "sc://localhost:15003"
85-
services:
86-
spark:
87-
image: apache/spark:4.0.0-preview2
88-
env:
89-
SPARK_NO_DAEMONIZE: 1
90-
ports:
91-
- 15003:15002
92-
options: --entrypoint /opt/spark/sbin/start-connect-server.sh
93-
steps:
94-
- uses: actions/checkout@v4
95-
- name: Build
96-
run: |
97-
docker run swift:6.1 uname -a
98-
docker run --add-host=host.docker.internal:host-gateway -v $PWD:/spark -w /spark -e SPARK_REMOTE='sc://host.docker.internal:15003' swift:6.1 swift test --no-parallel -c release
99-
10081
integration-test-mac:
10182
runs-on: macos-15
10283
steps:
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
20+
name: Integration Test (linux)
21+
22+
on:
23+
schedule:
24+
- cron: '0 0 * * *'
25+
workflow_dispatch:
26+
27+
jobs:
28+
integration-test-linux:
29+
runs-on: ubuntu-latest
30+
env:
31+
SPARK_REMOTE: "sc://localhost:15003"
32+
services:
33+
spark:
34+
image: apache/spark:4.0.0-preview2
35+
env:
36+
SPARK_NO_DAEMONIZE: 1
37+
ports:
38+
- 15003:15002
39+
options: --entrypoint /opt/spark/sbin/start-connect-server.sh
40+
steps:
41+
- uses: actions/checkout@v4
42+
- name: Build
43+
run: |
44+
docker run swift:6.1 uname -a
45+
docker run --add-host=host.docker.internal:host-gateway -v $PWD:/spark -w /spark -e SPARK_REMOTE='sc://host.docker.internal:15003' swift:6.1 swift test --no-parallel -c release

0 commit comments

Comments
 (0)