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 2021/03/26 09:14:15 UTC

[spark] branch branch-3.0 updated: [SPARK-34874][INFRA] Recover test reports for failed GA builds

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

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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 2d4a92b  [SPARK-34874][INFRA] Recover test reports for failed GA builds
2d4a92b is described below

commit 2d4a92b36c53102d37542fda690741d5d3faf071
Author: HyukjinKwon <gu...@apache.org>
AuthorDate: Fri Mar 26 18:12:28 2021 +0900

    [SPARK-34874][INFRA] Recover test reports for failed GA builds
    
    ### What changes were proposed in this pull request?
    
    https://github.com/dawidd6/action-download-artifact/commit/621becc6d7c440318382ce6f4cb776f27dd3fef3#r48726074
    there was a behaviour change in the download artifact plugin and it disabled the test reporting in failed builds.
    
    This PR recovers it by explicitly setting the conclusion from the workflow runs to search for the artifacts to download.
    
    ### Why are the changes needed?
    
    In order to properly report the failed test cases.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, it's dev only.
    
    ### How was this patch tested?
    
    Manually tested at https://github.com/HyukjinKwon/spark/pull/30
    
    Before:
    
    ![Screen Shot 2021-03-26 at 10 54 48 AM](https://user-images.githubusercontent.com/6477701/112566110-b7951d80-8e21-11eb-8fad-f637db9314d5.png)
    
    After:
    
    ![Screen Shot 2021-03-26 at 5 04 01 PM](https://user-images.githubusercontent.com/6477701/112606215-7588cd80-8e5b-11eb-8fdd-3afebd629f4f.png)
    
    Closes #31970 from HyukjinKwon/SPARK-34874.
    
    Authored-by: HyukjinKwon <gu...@apache.org>
    Signed-off-by: HyukjinKwon <gu...@apache.org>
    (cherry picked from commit c8233f1be5c2f853f42cda367475eb135a83afd5)
    Signed-off-by: HyukjinKwon <gu...@apache.org>
---
 .github/workflows/test_report.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/test_report.yml b/.github/workflows/test_report.yml
index 93cdb86..6d70f29 100644
--- a/.github/workflows/test_report.yml
+++ b/.github/workflows/test_report.yml
@@ -15,6 +15,7 @@ jobs:
         github_token: ${{ secrets.GITHUB_TOKEN }}
         workflow: ${{ github.event.workflow_run.workflow_id }}
         commit: ${{ github.event.workflow_run.head_commit.id }}
+        workflow_conclusion: completed
     - name: Publish test report
       uses: scacap/action-surefire-report@v1
       with:

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