You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by tu...@apache.org on 2022/11/09 09:53:52 UTC

[shardingsphere] branch master updated: Add : add github action to generate the SQL parser report (#22037)

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

tuichenchuxin 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 f020ac0c9be Add : add github action to generate the SQL parser report (#22037)
f020ac0c9be is described below

commit f020ac0c9be5de2c8834572a405698fcce96fdd1
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Wed Nov 9 17:53:45 2022 +0800

    Add : add github action to generate the SQL parser report (#22037)
    
    * Add : add upload sql parser artifact in github action (#21999)
    
    * Refactor : add condition for current workflow to avoid execute on forked repository (#21999)
---
 .github/workflows/nightly-sql-parser.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/nightly-sql-parser.yml b/.github/workflows/nightly-sql-parser.yml
index a94b32f00f4..953f99caaa2 100644
--- a/.github/workflows/nightly-sql-parser.yml
+++ b/.github/workflows/nightly-sql-parser.yml
@@ -25,8 +25,8 @@ env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dcheckstyle.skip=true -Dspotless.apply.skip=true -Dmaven.javadoc.skip=true -Djacoco.skip=true
 
 jobs:
-  ci:
-#    if: github.repository == 'apache/shardingsphere'
+  sql-parse:
+    if: github.repository == 'apache/shardingsphere'
     name: CI - JDK ${{ matrix.java-version }} on ${{ matrix.os }}
     runs-on: ${{ matrix.os }}
     timeout-minutes: 90
@@ -52,3 +52,7 @@ jobs:
         run: ./mvnw -T1C -B -ntp clean install
       - name: Run SQL parser
         run: ./mvnw -nsu -B install -f test/integration-test/sql-parser/pom.xml -Dsql.parser.it.enabled=true
+      - uses: actions/upload-artifact@v3
+        with:
+          name: sql-report
+          path: /tmp/*.csv