Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Integration Test (linux) #27

Integration Test (linux)

Integration Test (linux) #27

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
name: Integration Test (linux)
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
integration-test-linux:
runs-on: ubuntu-latest
env:
SPARK_REMOTE: "sc://localhost:15003"
services:
spark:
image: apache/spark:4.0.0
env:
SPARK_NO_DAEMONIZE: 1
ports:
- 15003:15002
options: --entrypoint /opt/spark/sbin/start-connect-server.sh
steps:
- uses: actions/checkout@v4
- name: Build
run: |
docker run swift:6.1 uname -a
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