Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/build-ce7-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ jobs:
--docker true \
--release \
--sparkver ${{ env.sparkver_short }} \
--scalaver ${{ matrix.scalaver }}
--scalaver ${{ matrix.scalaver }} \
--celeborn 0.5 \
--uniffle 0.10 \
--paimon 1.2 \
--flink 1.18

- name: Upload auron-${{ matrix.sparkver }}_${{ matrix.scalaver }}
uses: actions/upload-artifact@v4
Expand Down
80 changes: 80 additions & 0 deletions .github/workflows/build-ut.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#
# 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: Auron UT Validation

on:
workflow_dispatch:
push:
branches: [ main, release-* ]
pull_request:

jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# Spark 3.5 UT (Scala 2.13)
- name: Spark 3.5 UT
scala: 2.13
spark: 3.5
module: spark-extension
profiles: "-Pscala-2.13 -Pspark-3.5 -Prelease"

# Spark 3.4 UT (Scala 2.12)
- name: Spark 3.4 UT
scala: 2.12
spark: 3.4
module: auron-spark-extension
profiles: "-Pscala-2.12 -Pspark-3.4 -Prelease"

# Flink UT (Scala 2.12 only)
- name: Flink 1.18 UT
scala: 2.12
flink: 1.18
module: auron-flink-extension
profiles: "-Pscala-2.12 -Pflink-1.18 -Prelease"

# Celeborn UT (Scala 2.13)
- name: Celeborn UT
scala: 2.13
spark: 3.5
module: auron-celeborn-extension
profiles: "-Pscala-2.13 -Pspark-3.5 -Prelease"

steps:
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin

- name: Build and Test ${{ matrix.name }}
run: |
./build/mvn -B clean test -pl ${{ matrix.module }} -am ${{ matrix.profiles }}

- name: Upload test reports (optional)
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-reports-${{ matrix.name }}
path: |
**/target/surefire-reports/*.xml
**/target/failsafe-reports/*.xml
1 change: 1 addition & 0 deletions auron-flink-extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
<version>${maven.plugin.surefire.version}</version>
<!-- Note config is repeated in scalatest config -->
<configuration>
<skipTests>${skipTests}</skipTests>
<includes>
<include>**/*ITCase.java</include>
</includes>
Expand Down
Loading