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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 851e8d432 [test] Split pre commit tests (#637)
851e8d432 is described below

commit 851e8d432fb35edfc3ed6a836e5cebaa2a0c0aa3
Author: Jingsong Lee <[email protected]>
AuthorDate: Mon Mar 20 10:08:42 2023 +0800

    [test] Split pre commit tests (#637)
---
 .../{utcase-itcase.yml => e2e-tests-1.14.yml}      |  8 +++--
 .../{utcase-itcase.yml => e2e-tests-1.15.yml}      |  8 +++--
 .../{utcase-itcase.yml => e2e-tests-1.16.yml}      |  8 +++--
 .github/workflows/e2e-tests.yml                    | 42 ----------------------
 .../{utcase-itcase.yml => utitcase-flink.yml}      |  6 ++--
 .../workflows/{utcase-itcase.yml => utitcase.yml}  |  6 ++--
 6 files changed, 23 insertions(+), 55 deletions(-)

diff --git a/.github/workflows/utcase-itcase.yml 
b/.github/workflows/e2e-tests-1.14.yml
similarity index 65%
copy from .github/workflows/utcase-itcase.yml
copy to .github/workflows/e2e-tests-1.14.yml
index 31e73b9b6..7243f0c7e 100644
--- a/.github/workflows/utcase-itcase.yml
+++ b/.github/workflows/e2e-tests-1.14.yml
@@ -1,4 +1,4 @@
-name: UTCase and ITCase
+name: End to End Tests Flink 1.14
 
 on: [push, pull_request]
 
@@ -13,10 +13,12 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: 1.8
-      - name: Build
+      - name: Build Flink 1.14
+        run: ./mvnw clean install -Dmaven.test.skip=true -Pflink-1.14
+      - name: Test Flink 1.14
         run: |
           # run tests with random timezone to find out timezone related bugs
           . .github/workflows/utils.sh
           jvm_timezone=$(random_timezone)
           echo "JVM timezone is set to $jvm_timezone"
-          ./mvnw clean install -pl '!paimon-e2e-tests' 
-Duser.timezone=$jvm_timezone
+          ./mvnw test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone 
-Pflink-1.14
diff --git a/.github/workflows/utcase-itcase.yml 
b/.github/workflows/e2e-tests-1.15.yml
similarity index 65%
copy from .github/workflows/utcase-itcase.yml
copy to .github/workflows/e2e-tests-1.15.yml
index 31e73b9b6..895f443b6 100644
--- a/.github/workflows/utcase-itcase.yml
+++ b/.github/workflows/e2e-tests-1.15.yml
@@ -1,4 +1,4 @@
-name: UTCase and ITCase
+name: End to End Tests Flink 1.15
 
 on: [push, pull_request]
 
@@ -13,10 +13,12 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: 1.8
-      - name: Build
+      - name: Build Flink 1.15
+        run: ./mvnw clean install -Dmaven.test.skip=true -Pflink-1.15
+      - name: Test Flink 1.15
         run: |
           # run tests with random timezone to find out timezone related bugs
           . .github/workflows/utils.sh
           jvm_timezone=$(random_timezone)
           echo "JVM timezone is set to $jvm_timezone"
-          ./mvnw clean install -pl '!paimon-e2e-tests' 
-Duser.timezone=$jvm_timezone
+          ./mvnw test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone 
-Pflink-1.15
diff --git a/.github/workflows/utcase-itcase.yml 
b/.github/workflows/e2e-tests-1.16.yml
similarity index 69%
copy from .github/workflows/utcase-itcase.yml
copy to .github/workflows/e2e-tests-1.16.yml
index 31e73b9b6..18fc9237f 100644
--- a/.github/workflows/utcase-itcase.yml
+++ b/.github/workflows/e2e-tests-1.16.yml
@@ -1,4 +1,4 @@
-name: UTCase and ITCase
+name: End to End Tests Flink 1.16
 
 on: [push, pull_request]
 
@@ -13,10 +13,12 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: 1.8
-      - name: Build
+      - name: Build Flink 1.16
+        run: ./mvnw clean install -DskipTests
+      - name: Test Flink 1.16
         run: |
           # run tests with random timezone to find out timezone related bugs
           . .github/workflows/utils.sh
           jvm_timezone=$(random_timezone)
           echo "JVM timezone is set to $jvm_timezone"
-          ./mvnw clean install -pl '!paimon-e2e-tests' 
-Duser.timezone=$jvm_timezone
+          ./mvnw test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml
deleted file mode 100644
index 934e4a6e4..000000000
--- a/.github/workflows/e2e-tests.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: End to End Tests
-
-on: [push, pull_request]
-
-jobs:
-  build:
-    runs-on: ubuntu-latest
-
-    steps:
-      - name: Checkout code
-        uses: actions/checkout@v2
-      - name: Set up JDK 1.8
-        uses: actions/setup-java@v1
-        with:
-          java-version: 1.8
-      - name: Build Flink 1.16
-        run: ./mvnw clean install -DskipTests
-      - name: Test Flink 1.16
-        run: |
-          # run tests with random timezone to find out timezone related bugs
-          . .github/workflows/utils.sh
-          jvm_timezone=$(random_timezone)
-          echo "JVM timezone is set to $jvm_timezone"
-          ./mvnw test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone
-      - name: Build Flink 1.15
-        run: ./mvnw clean install -Dmaven.test.skip=true -Pflink-1.15
-      - name: Test Flink 1.15
-        run: |
-          # run tests with random timezone to find out timezone related bugs
-          . .github/workflows/utils.sh
-          jvm_timezone=$(random_timezone)
-          echo "JVM timezone is set to $jvm_timezone"
-          ./mvnw test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone 
-Pflink-1.15
-      - name: Build Flink 1.14
-        run: ./mvnw clean install -Dmaven.test.skip=true -Pflink-1.14
-      - name: Test Flink 1.14
-        run: |
-          # run tests with random timezone to find out timezone related bugs
-          . .github/workflows/utils.sh
-          jvm_timezone=$(random_timezone)
-          echo "JVM timezone is set to $jvm_timezone"
-          ./mvnw test -pl paimon-e2e-tests -Duser.timezone=$jvm_timezone 
-Pflink-1.14
diff --git a/.github/workflows/utcase-itcase.yml 
b/.github/workflows/utitcase-flink.yml
similarity index 71%
copy from .github/workflows/utcase-itcase.yml
copy to .github/workflows/utitcase-flink.yml
index 31e73b9b6..2c53e4d78 100644
--- a/.github/workflows/utcase-itcase.yml
+++ b/.github/workflows/utitcase-flink.yml
@@ -1,4 +1,4 @@
-name: UTCase and ITCase
+name: UTCase and ITCase Flink
 
 on: [push, pull_request]
 
@@ -14,9 +14,11 @@ jobs:
         with:
           java-version: 1.8
       - name: Build
+        run: ./mvnw clean install -DskipTests
+      - name: Test
         run: |
           # run tests with random timezone to find out timezone related bugs
           . .github/workflows/utils.sh
           jvm_timezone=$(random_timezone)
           echo "JVM timezone is set to $jvm_timezone"
-          ./mvnw clean install -pl '!paimon-e2e-tests' 
-Duser.timezone=$jvm_timezone
+          ./mvnw clean install -pl 'org.apache.paimon:paimon-flink-common' 
-Duser.timezone=$jvm_timezone
diff --git a/.github/workflows/utcase-itcase.yml 
b/.github/workflows/utitcase.yml
similarity index 69%
rename from .github/workflows/utcase-itcase.yml
rename to .github/workflows/utitcase.yml
index 31e73b9b6..f6b8be50a 100644
--- a/.github/workflows/utcase-itcase.yml
+++ b/.github/workflows/utitcase.yml
@@ -1,4 +1,4 @@
-name: UTCase and ITCase
+name: UTCase and ITCase Non Flink
 
 on: [push, pull_request]
 
@@ -14,9 +14,11 @@ jobs:
         with:
           java-version: 1.8
       - name: Build
+        run: ./mvnw clean install -DskipTests
+      - name: Test
         run: |
           # run tests with random timezone to find out timezone related bugs
           . .github/workflows/utils.sh
           jvm_timezone=$(random_timezone)
           echo "JVM timezone is set to $jvm_timezone"
-          ./mvnw clean install -pl '!paimon-e2e-tests' 
-Duser.timezone=$jvm_timezone
+          ./mvnw clean install -pl 
'!paimon-e2e-tests,!org.apache.paimon:paimon-flink-common' 
-Duser.timezone=$jvm_timezone

Reply via email to