You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2022/03/21 04:25:35 UTC

[spark] branch master updated: [SPARK-38607][INFRA] Test result report for ANSI mode

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

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


The following commit(s) were added to refs/heads/master by this push:
     new cae51ea  [SPARK-38607][INFRA] Test result report for ANSI mode
cae51ea is described below

commit cae51ea06eadc2400f4588ca76e4f20685019581
Author: Hyukjin Kwon <gu...@apache.org>
AuthorDate: Mon Mar 21 13:24:19 2022 +0900

    [SPARK-38607][INFRA] Test result report for ANSI mode
    
    ### What changes were proposed in this pull request?
    
    This PR proposes two:
    
    1. Report test results for ANSI mode enabled too. All "Build and test" is reused, and all steps are ready. We can just post the status to GitHub Checks status (like https://github.com/apache/spark/runs/5618763442)
    2. Rename `Build and test (ANSI)` -> `ANSI SQL mode test`, and `.github/workflows/ansi_sql_mode_test.yml` -> `.github/workflows/build_and_test_ansi.yml` for naming consistency.
    
    ### Why are the changes needed?
    
    1. To easily navigate the test results.
    2. The current naming looks a bit messy:
        <img width="487" alt="Screen Shot 2022-03-21 at 10 12 37 AM" src="https://user-images.githubusercontent.com/6477701/159194495-db25d0a9-c46b-4624-a5c7-8db4bb7521dc.png">
        After this PR, it would look more consistent.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, dev-only.
    
    ### How was this patch tested?
    
    CI in this PR should tests. It should be monitored after it gets merged too.
    
    Closes #35916 from HyukjinKwon/SPARK-38607.
    
    Authored-by: Hyukjin Kwon <gu...@apache.org>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 .../workflows/{ansi_sql_mode_test.yml => build_and_test_ansi.yml}   | 6 +++---
 .github/workflows/test_report.yml                                   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ansi_sql_mode_test.yml b/.github/workflows/build_and_test_ansi.yml
similarity index 92%
rename from .github/workflows/ansi_sql_mode_test.yml
rename to .github/workflows/build_and_test_ansi.yml
index 6f72b60..0ca3354 100644
--- a/.github/workflows/ansi_sql_mode_test.yml
+++ b/.github/workflows/build_and_test_ansi.yml
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-name: ANSI SQL mode test
+name: "Build and test (ANSI)"
 
 on:
   push:
@@ -25,10 +25,10 @@ on:
       - '**'
 
 jobs:
-  ansi_sql_test:
+  call-build-and-test:
+    name: Call main build
     uses: ./.github/workflows/build_and_test.yml
     if: github.repository == 'apache/spark'
     with:
       ansi_enabled: true
 
-
diff --git a/.github/workflows/test_report.yml b/.github/workflows/test_report.yml
index e537e34..a3f09c0 100644
--- a/.github/workflows/test_report.yml
+++ b/.github/workflows/test_report.yml
@@ -20,7 +20,7 @@
 name: Report test results
 on:
   workflow_run:
-    workflows: ["Build and test"]
+    workflows: ["Build and test", "Build and test (ANSI)"]
     types:
       - completed
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org