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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1a76851008c Refactor e2e sql (#27401)
1a76851008c is described below

commit 1a76851008c6ed2e1a74264aa63cdf662d22e224
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Mon Jul 24 10:54:33 2023 +0800

    Refactor e2e sql (#27401)
    
    * Refactor : add job prefix
    
    * Refactor : refactor e2e process and required check
---
 .github/workflows/e2e-sql.yml        |  4 +---
 .github/workflows/required-check.yml | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/e2e-sql.yml b/.github/workflows/e2e-sql.yml
index bf8beca7684..a991700de57 100644
--- a/.github/workflows/e2e-sql.yml
+++ b/.github/workflows/e2e-sql.yml
@@ -83,8 +83,6 @@ jobs:
             ${{ env.REPOSITORY_NAME }}-maven-third-party-
       - name: Build E2E Image
         run: ./mvnw -B clean install -am -pl test/e2e/sql -Pit.env.docker 
-DskipTests -Dspotless.apply.skip=true
-      - name: Verify CI
-        run: ./mvnw -B install -pl test/e2e/sql -Dspotless.apply.skip=true
       - name: Save E2E Image
         run: docker save -o /tmp/${{ env.REPOSITORY_NAME }}-proxy-test.tar 
apache/shardingsphere-proxy-test:latest
       - uses: actions/upload-artifact@v3
@@ -94,7 +92,7 @@ jobs:
           retention-days: 1
   
   e2e-sql:
-    name: ${{ matrix.adapter }} - ${{ matrix.scenario }} - ${{ matrix.mode }} 
on ${{ matrix.database }}
+    name: E2E - ${{ matrix.adapter }} - ${{ matrix.scenario }} - ${{ 
matrix.mode }} on ${{ matrix.database }}
     runs-on: ubuntu-latest
     timeout-minutes: 15
     needs: build-e2e-image
diff --git a/.github/workflows/required-check.yml 
b/.github/workflows/required-check.yml
index 835eb8e2ec5..80e4008fea2 100644
--- a/.github/workflows/required-check.yml
+++ b/.github/workflows/required-check.yml
@@ -39,6 +39,24 @@ jobs:
       - name: Run CheckStyle and Spotless
         run: ./mvnw checkstyle:check spotless:check -T1C
   
+  check-checkstyle:
+    name: Check - CheckStyle
+    runs-on: ubuntu-latest
+    timeout-minutes: 10
+    steps:
+      - uses: actions/checkout@v3
+      - name: Run CheckStyle
+        run: ./mvnw checkstyle:check -T1C
+  
+  check-spotless:
+    name: Check - Spotless
+    runs-on: ubuntu-latest
+    timeout-minutes: 10
+    steps:
+      - uses: actions/checkout@v3
+      - name: Run Spotless
+        run: ./mvnw spotless:check -T1C
+  
   check-license:
     name: Check - License
     runs-on: ubuntu-latest

Reply via email to