Skip to content

Commit 11d758f

Browse files
committed
[SPARK-50852][INFRA] Add Java 21 Daily GitHub Action job for branch-4.0
### What changes were proposed in this pull request? This PR aims to add `Java 21` Daily GitHub Action job for `branch-4.0`. ### Why are the changes needed? Like `build_java21.yml` on `master`, this PR provides Java 21 test coverage for `branch-4.0`. - https://github.com/apache/spark/actions/workflows/build_java21.yml Please note that this is added to `master` branch due to the GitHub Action cron feature requirements. ### Does this PR introduce _any_ user-facing change? No, this is an addition to test infra. ### How was this patch tested? Manual review. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #49530 from dongjoon-hyun/SPARK-50852. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent e2cff22 commit 11d758f

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
20+
name: "Build (branch-4.0, Scala 2.13, Hadoop 3, JDK 21)"
21+
22+
on:
23+
schedule:
24+
- cron: '0 5 * * *'
25+
workflow_dispatch:
26+
27+
jobs:
28+
run-build:
29+
permissions:
30+
packages: write
31+
name: Run
32+
uses: ./.github/workflows/build_and_test.yml
33+
if: github.repository == 'apache/spark'
34+
with:
35+
java: 21
36+
branch: branch-4.0
37+
hadoop: hadoop3
38+
envs: >-
39+
{
40+
"PYSPARK_IMAGE_TO_TEST": "python-311",
41+
"PYTHON_TO_TEST": "python3.11",
42+
"SKIP_MIMA": "true",
43+
"SKIP_UNIDOC": "true",
44+
"DEDICATED_JVM_SBT_TESTS": "org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormatV1Suite,org.apache.spark.sql.execution.datasources.parquet.ParquetFileFormatV2Suite,org.apache.spark.sql.execution.datasources.orc.OrcSourceV1Suite,org.apache.spark.sql.execution.datasources.orc.OrcSourceV2Suite"
45+
}
46+
jobs: >-
47+
{
48+
"build": "true",
49+
"pyspark": "true",
50+
"sparkr": "true",
51+
"tpcds-1g": "true",
52+
"docker-integration-tests": "true",
53+
"yarn": "true",
54+
"k8s-integration-tests": "true",
55+
"buf": "true",
56+
"ui": "true"
57+
}

0 commit comments

Comments
 (0)