Skip to content

[SPARK-51539] Refactor SparkConnectClient to use analyze helper function #90

[SPARK-51539] Refactor SparkConnectClient to use analyze helper function

[SPARK-51539] Refactor SparkConnectClient to use analyze helper function #90

Workflow file for this run

#
# 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: Build and test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
license-check:
name: "License Check"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Check license header
uses: apache/skywalking-eyes@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
config: .github/.licenserc.yaml
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-15
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2.2.0
with:
swift-version: "6"
- name: Build
run: swift build -v
integration-test:
runs-on: ubuntu-latest
services:
spark:
image: apache/spark:4.0.0-preview2
env:
SPARK_NO_DAEMONIZE: 1
ports:
- 15002:15002
options: --entrypoint /opt/spark/sbin/start-connect-server.sh
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2.2.0
with:
swift-version: "6"
- name: Test
run: swift test --no-parallel