Skip to content

Commit

Permalink
Run Flink and Spark3 tests on Java 17 too
Browse files Browse the repository at this point in the history
Project supports building with 8, 11 and 17. In most CI scripts we run
the jobs on all supported Java versions, let's do same here to ensure
the build would work locally too.
  • Loading branch information
findepi committed Jun 11, 2024
1 parent bab5474 commit 77fa04a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/flink-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,12 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
jvm: [8, 11]
jvm: [8, 11, 17]
flink: ['1.17', '1.18', '1.19']
excludes:
# Flink 1.17 does not support Java 17.
- jvm: 17
flink: '1.17'
env:
SPARK_LOCAL_IP: localhost
steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/spark-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
jvm: [8, 11]
jvm: [8, 11, 17]
spark: ['3.3', '3.4', '3.5']
env:
SPARK_LOCAL_IP: localhost
Expand Down Expand Up @@ -102,6 +102,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
# 17 exercised by spark-3x-java-17-tests
jvm: [8, 11]
spark: ['3.3','3.4','3.5']
env:
Expand Down

0 comments on commit 77fa04a

Please sign in to comment.