Skip to content

Commit 97e6a3c

Browse files
committed
Enable test pipeline
1 parent 123a14d commit 97e6a3c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,22 @@ jobs:
174174
DEFAULT_BRANCH: main
175175
VALIDATE_MARKDOWN: true
176176
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
177+
178+
integration-test-linux:
179+
runs-on: ubuntu-latest
180+
env:
181+
SPARK_REMOTE: "sc://localhost:15003"
182+
services:
183+
spark:
184+
image: apache/spark:4.0.0
185+
env:
186+
SPARK_NO_DAEMONIZE: 1
187+
ports:
188+
- 15003:15002
189+
options: --entrypoint /opt/spark/sbin/start-connect-server.sh
190+
steps:
191+
- uses: actions/checkout@v4
192+
- name: Build
193+
run: |
194+
docker run swift:6.1 uname -a
195+
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)