Skip to content

Commit

Permalink
Add Github action test job for branch-3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanyuanking committed Jul 18, 2023
1 parent 95dc829 commit 5088107
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
description: Branch to run the build against
required: false
type: string
# Change 'master' to 'branch-3.5' in branch-3.5 branch after cutting it.
# Change 'master' to 'branch-4.0' in branch-4.0 branch after cutting it.
default: master
hadoop:
description: Hadoop version to run with. HADOOP_PROFILE environment variable should accept it.
Expand Down Expand Up @@ -517,8 +517,8 @@ jobs:
breaking-changes-buf:
needs: [precondition]
if: always() && fromJson(needs.precondition.outputs.required).breaking-changes-buf == 'true'
# Change 'branch-3.4' to 'branch-3.5' in master branch after cutting branch-3.5 branch.
name: Breaking change detection with Buf (branch-3.4)
# Change 'branch-3.5' to 'branch-4.0' in master branch after cutting branch-4.0 branch.
name: Breaking change detection with Buf (branch-3.5)
runs-on: ubuntu-22.04
steps:
- name: Checkout Spark repository
Expand All @@ -541,7 +541,7 @@ jobs:
uses: bufbuild/buf-breaking-action@v1
with:
input: connector/connect/common/src/main
against: 'https://github.com/apache/spark.git#branch=branch-3.4,subdir=connector/connect/common/src/main'
against: 'https://github.com/apache/spark.git#branch=branch-3.5,subdir=connector/connect/common/src/main'


# Static analysis, and documentation build
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/build_branch35.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#
# 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 (branch-3.5, Scala 2.13, Hadoop 3, JDK 8)"

on:
schedule:
- cron: '0 11 * * *'

jobs:
run-build:
permissions:
packages: write
name: Run
uses: ./.github/workflows/build_and_test.yml
if: github.repository == 'apache/spark'
with:
java: 8
branch: branch-3.5
hadoop: hadoop3
envs: >-
{
"SCALA_PROFILE": "scala2.13"
}
jobs: >-
{
"build": "true",
"pyspark": "true",
"sparkr": "true",
"tpcds-1g": "true",
"docker-integration-tests": "true",
"lint" : "true"
}

0 comments on commit 5088107

Please sign in to comment.