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

pdallig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new b9860b6eda [ZEPPELIN-6090] Drop JDK8 from CI
b9860b6eda is described below

commit b9860b6eda35551b91d8ab4146c7ff0609fac858
Author: Philipp Dallig <philipp.dal...@gmail.com>
AuthorDate: Tue Oct 22 16:40:09 2024 +0200

    [ZEPPELIN-6090] Drop JDK8 from CI
    
    ### What is this PR for?
    This pull request removes the test with JDK 8. I have kept the JDK matrix 
to make it easier to switch to the next JDK later.
    This pull request also drops python 3.7 & 3.8 tests for the 
`python`,`rlang` and `zeppelin-jupyter` interpreter. Please note that current 
python 3.7 and 3.8 are end of life. https://devguide.python.org/versions/
    
    ### What type of PR is it?
    Improvement
    
    ### What is the Jira issue?
     - https://issues.apache.org/jira/browse/ZEPPELIN-6090
    
    ### How should this be tested?
    * CI
    
    ### Questions:
    * Does the license files need to update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    
    
    Closes #4875 from Reamer/jdk11_github.
    
    Signed-off-by: Philipp Dallig <philipp.dal...@gmail.com>
---
 .github/workflows/core.yml | 27 ++++++++-------------------
 1 file changed, 8 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml
index 83728cc78b..89c3a4e174 100644
--- a/.github/workflows/core.yml
+++ b/.github/workflows/core.yml
@@ -40,7 +40,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        java: [ 8, 11 ]
+        java: [ 11 ]
     steps:
       - name: Checkout
         uses: actions/checkout@v4
@@ -91,7 +91,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        java: [ 8, 11 ]
+        java: [ 11 ]
     env:
       INTERPRETERS: 
'hbase,jdbc,file,flink-cmd,cassandra,elasticsearch,bigquery,alluxio,livy,groovy,java,neo4j,sparql,mongodb,influxdb,shell'
     steps:
@@ -137,12 +137,7 @@ jobs:
       fail-fast: false
       matrix:
         python: [ 3.9 ]
-        java: [ 8, 11 ]
-        include:
-          - python: 3.7
-            java: 8
-          - python: 3.8
-            java: 8
+        java: [ 11 ]
     steps:
       - name: Checkout
         uses: actions/checkout@v4
@@ -190,7 +185,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        java: [ 8, 11 ]
+        java: [ 11 ]
     steps:
       # user/password => root/root
       - name: Start mysql
@@ -259,7 +254,7 @@ jobs:
         uses: actions/setup-java@v4
         with:
           distribution: 'temurin'
-          java-version: 8
+          java-version: 11
       - name: Cache local Maven repository
         uses: actions/cache@v4
         with:
@@ -297,7 +292,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        java: [ 8, 11 ]
+        java: [ 11 ]
     steps:
       - name: Checkout
         uses: actions/checkout@v4
@@ -346,12 +341,7 @@ jobs:
       fail-fast: false
       matrix:
         python: [ 3.9 ]
-        java: [ 8, 11 ]
-        include:
-          - python: 3.7
-            java: 8
-          - python: 3.8
-            java: 8
+        java: [ 11 ]
     steps:
       - name: Checkout
         uses: actions/checkout@v4
@@ -401,7 +391,6 @@ jobs:
           rm -rf spark/interpreter/metastore_db
           ./mvnw verify -pl spark-submit,spark/interpreter -am 
-Dtest=org/apache/zeppelin/spark/* -Pspark-3.4 -Pspark-scala-2.13 -Pintegration 
-DfailIfNoTests=false ${MAVEN_ARGS}
       - name: run spark-3.5 tests with scala-2.13 and python-${{ matrix.python 
}}
-        if: matrix.python >= '3.8'
         run: |
           rm -rf spark/interpreter/metastore_db
           ./mvnw verify -pl spark-submit,spark/interpreter -am 
-Dtest=org/apache/zeppelin/spark/* -Pspark-3.5 -Pspark-scala-2.13 -Pintegration 
-DfailIfNoTests=false ${MAVEN_ARGS}
@@ -460,7 +449,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        java: [ 8, 11 ]
+        java: [ 11 ]
     steps:
       - name: Checkout
         uses: actions/checkout@v4

Reply via email to