You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ke...@apache.org on 2026/07/08 16:21:57 UTC

(iceberg) branch main updated: CI: Use one Java version for PR checks (#16945)

This is an automated email from the ASF dual-hosted git repository.

kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new d7c07d56f7 CI: Use one Java version for PR checks (#16945)
d7c07d56f7 is described below

commit d7c07d56f7513fa48b7e03cdb2232b0ab210bd87
Author: Ajantha Bhat <aj...@gmail.com>
AuthorDate: Wed Jul 8 21:51:51 2026 +0530

    CI: Use one Java version for PR checks (#16945)
---
 .github/workflows/delta-conversion-ci.yml | 10 ++++++++++
 .github/workflows/flink-ci.yml            |  5 +++++
 .github/workflows/hive-ci.yml             |  5 +++++
 .github/workflows/java-ci.yml             | 15 +++++++++++++++
 .github/workflows/kafka-connect-ci.yml    |  5 +++++
 .github/workflows/spark-ci.yml            |  4 ++++
 6 files changed, 44 insertions(+)

diff --git a/.github/workflows/delta-conversion-ci.yml b/.github/workflows/delta-conversion-ci.yml
index 43aba80023..e640b94435 100644
--- a/.github/workflows/delta-conversion-ci.yml
+++ b/.github/workflows/delta-conversion-ci.yml
@@ -79,6 +79,11 @@ jobs:
       max-parallel: 15
       matrix:
         jvm: [17, 21]
+        event_name: ['${{ github.event_name }}']
+        exclude:
+          # Pull requests run the baseline JDK only.
+          - event_name: pull_request
+            jvm: 21
     env:
       SPARK_LOCAL_IP: localhost
     steps:
@@ -108,6 +113,11 @@ jobs:
       max-parallel: 15
       matrix:
         jvm: [17, 21]
+        event_name: ['${{ github.event_name }}']
+        exclude:
+          # Pull requests run the baseline JDK only.
+          - event_name: pull_request
+            jvm: 21
     env:
       SPARK_LOCAL_IP: localhost
     steps:
diff --git a/.github/workflows/flink-ci.yml b/.github/workflows/flink-ci.yml
index 94588c4d8b..31e8ac1fc8 100644
--- a/.github/workflows/flink-ci.yml
+++ b/.github/workflows/flink-ci.yml
@@ -82,6 +82,11 @@ jobs:
       max-parallel: 15
       matrix:
         jvm: [17, 21]
+        event_name: ['${{ github.event_name }}']
+        exclude:
+          # Pull requests run the baseline JDK only.
+          - event_name: pull_request
+            jvm: 21
         flink: ['1.20', '2.0', '2.1']
     env:
       SPARK_LOCAL_IP: localhost
diff --git a/.github/workflows/hive-ci.yml b/.github/workflows/hive-ci.yml
index 54a5844b1d..655137a494 100644
--- a/.github/workflows/hive-ci.yml
+++ b/.github/workflows/hive-ci.yml
@@ -80,6 +80,11 @@ jobs:
       max-parallel: 15
       matrix:
         jvm: [17, 21]
+        event_name: ['${{ github.event_name }}']
+        exclude:
+          # Pull requests run the baseline JDK only.
+          - event_name: pull_request
+            jvm: 21
     env:
       SPARK_LOCAL_IP: localhost
     steps:
diff --git a/.github/workflows/java-ci.yml b/.github/workflows/java-ci.yml
index 24c8c04e4b..97d42d4c71 100644
--- a/.github/workflows/java-ci.yml
+++ b/.github/workflows/java-ci.yml
@@ -75,6 +75,11 @@ jobs:
       max-parallel: 15
       matrix:
         jvm: [17, 21]
+        event_name: ['${{ github.event_name }}']
+        exclude:
+          # Pull requests run the baseline JDK only.
+          - event_name: pull_request
+            jvm: 21
     env:
       SPARK_LOCAL_IP: localhost
     steps:
@@ -104,6 +109,11 @@ jobs:
       max-parallel: 15
       matrix:
         jvm: [17, 21]
+        event_name: ['${{ github.event_name }}']
+        exclude:
+          # Pull requests run the baseline JDK only.
+          - event_name: pull_request
+            jvm: 21
     steps:
     - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
       with:
@@ -124,6 +134,11 @@ jobs:
       max-parallel: 15
       matrix:
         jvm: [17, 21]
+        event_name: ['${{ github.event_name }}']
+        exclude:
+          # Pull requests run the baseline JDK only.
+          - event_name: pull_request
+            jvm: 21
     steps:
     - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
       with:
diff --git a/.github/workflows/kafka-connect-ci.yml b/.github/workflows/kafka-connect-ci.yml
index b0f836197e..9d5b2b638b 100644
--- a/.github/workflows/kafka-connect-ci.yml
+++ b/.github/workflows/kafka-connect-ci.yml
@@ -80,6 +80,11 @@ jobs:
       max-parallel: 15
       matrix:
         jvm: [17, 21]
+        event_name: ['${{ github.event_name }}']
+        exclude:
+          # Pull requests run the baseline JDK only.
+          - event_name: pull_request
+            jvm: 21
     env:
       SPARK_LOCAL_IP: localhost
     steps:
diff --git a/.github/workflows/spark-ci.yml b/.github/workflows/spark-ci.yml
index 49e616c437..a2f7b1e9c1 100644
--- a/.github/workflows/spark-ci.yml
+++ b/.github/workflows/spark-ci.yml
@@ -82,6 +82,7 @@ jobs:
       max-parallel: 20
       matrix:
         jvm: [17, 21]
+        event_name: ['${{ github.event_name }}']
         spark: ['3.5', '4.0', '4.1']
         scala: ['2.12', '2.13']
         # Split iceberg-spark (core) from iceberg-spark-extensions/-runtime
@@ -94,6 +95,9 @@ jobs:
             scala: '2.12'
           - spark: '4.1'
             scala: '2.12'
+          # Pull requests run the baseline JDK only.
+          - event_name: pull_request
+            jvm: 21
     env:
       SPARK_LOCAL_IP: localhost
     steps: