Skip to content

Commit 206fc9c

Browse files
authored
Use default CI Java for Spark3 Java Version PreCommit (#34985)
1 parent 75cf7e1 commit 206fc9c

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.github/workflows/beam_PreCommit_Java_Spark3_Versions.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,12 @@ jobs:
8787
github_job: ${{ matrix.job_name }} (${{ matrix.job_phrase }})
8888
- name: Setup environment
8989
uses: ./.github/actions/setup-environment-action
90-
with:
91-
java-version: |
92-
8
93-
11
94-
# TODO(https://github.com/apache/beam/issues/32207) Run test with Java11
9590
- name: run sparkVersionsTest script
9691
uses: ./.github/actions/gradle-command-self-hosted-action
9792
with:
9893
gradle-command: :runners:spark:3:sparkVersionsTest
9994
arguments: |
10095
-PdisableSpotlessCheck=true \
101-
-PtestJavaVersion=8 \
102-
-Pjava8Home=$JAVA_HOME_8_X64 \
10396
- name: Archive JUnit Test Results
10497
uses: actions/upload-artifact@v4
10598
if: ${{ !success() }}

runners/spark/3/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ createJavaExamplesArchetypeValidationTask(type: 'Quickstart', runner: 'Spark')
3434

3535
// Additional supported Spark versions (used in compatibility tests)
3636
def sparkVersions = [
37-
"350": "3.5.5",
38-
"341": "3.4.4",
39-
"332": "3.3.4",
40-
"324": "3.2.4",
41-
"312": "3.1.3",
37+
"35": "3.5.5",
38+
"34": "3.4.4",
39+
"33": "3.3.4",
40+
"32": "3.2.4",
41+
"31": "3.1.3",
4242
]
4343

4444
sparkVersions.each { kv ->

0 commit comments

Comments
 (0)