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

dongjoon 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 7a1b4812ac7a [SPARK-54227][INFRA] Upload test reports generated by the 
surefire plug-in too
7a1b4812ac7a is described below

commit 7a1b4812ac7a785c496bf9bd710b77ad450c04ae
Author: Kent Yao <[email protected]>
AuthorDate: Thu Nov 6 20:19:08 2025 -0800

    [SPARK-54227][INFRA] Upload test reports generated by the surefire plug-in 
too
    
    ### What changes were proposed in this pull request?
    Upload test reports generated by the Surefire plug-in too.
    
    ### Why are the changes needed?
    
    The surefire-reports folder might also contains test reports
    
    ### Does this PR introduce _any_ user-facing change?
    no
    
    ### How was this patch tested?
    Passing GA
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No
    
    Closes #52917 from yaooqinn/surefire.
    
    Authored-by: Kent Yao <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml            | 20 +++++++++++++++-----
 .github/workflows/build_python_connect.yml      |  4 +++-
 .github/workflows/build_python_connect35.yml    |  4 +++-
 .github/workflows/maven_test.yml                |  4 +++-
 .github/workflows/python_hosted_runner_test.yml |  4 +++-
 5 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index e825d0d90595..f3cc1de22fb7 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -384,7 +384,9 @@ jobs:
       uses: actions/upload-artifact@v4
       with:
         name: test-results-${{ matrix.modules }}-${{ matrix.comment }}-${{ 
matrix.java }}-${{ matrix.hadoop }}-${{ matrix.hive }}
-        path: "**/target/test-reports/*.xml"
+        path: |
+          **/target/test-reports/*.xml
+          **/target/surefire-reports/*.xml
     - name: Upload unit tests log files
       if: ${{ !success() }}
       uses: actions/upload-artifact@v4
@@ -645,7 +647,9 @@ jobs:
       uses: actions/upload-artifact@v4
       with:
         name: test-results-${{ matrix.modules }}--${{ matrix.java }}-${{ 
inputs.hadoop }}-hive2.3-${{ env.PYTHON_TO_TEST }}
-        path: "**/target/test-reports/*.xml"
+        path: |
+          **/target/test-reports/*.xml
+          **/target/surefire-reports/*.xml
     - name: Upload unit tests log files
       env: ${{ fromJSON(inputs.envs) }}
       if: ${{ !success() }}
@@ -727,7 +731,9 @@ jobs:
       uses: actions/upload-artifact@v4
       with:
         name: test-results-sparkr--${{ inputs.java }}-${{ inputs.hadoop 
}}-hive2.3
-        path: "**/target/test-reports/*.xml"
+        path: |
+          **/target/test-reports/*.xml
+          **/target/surefire-reports/*.xml
 
   buf:
     needs: [precondition]
@@ -1202,7 +1208,9 @@ jobs:
       uses: actions/upload-artifact@v4
       with:
         name: test-results-tpcds--${{ inputs.java }}-${{ inputs.hadoop 
}}-hive2.3
-        path: "**/target/test-reports/*.xml"
+        path: |
+          **/target/test-reports/*.xml
+          **/target/surefire-reports/*.xml
     - name: Upload unit tests log files
       if: ${{ !success() }}
       uses: actions/upload-artifact@v4
@@ -1269,7 +1277,9 @@ jobs:
       uses: actions/upload-artifact@v4
       with:
         name: test-results-docker-integration--${{ inputs.java }}-${{ 
inputs.hadoop }}-hive2.3
-        path: "**/target/test-reports/*.xml"
+        path: |
+          **/target/test-reports/*.xml
+          **/target/surefire-reports/*.xml
     - name: Upload unit tests log files
       if: ${{ !success() }}
       uses: actions/upload-artifact@v4
diff --git a/.github/workflows/build_python_connect.yml 
b/.github/workflows/build_python_connect.yml
index b1ebb45b9cbc..7a4d277577f6 100644
--- a/.github/workflows/build_python_connect.yml
+++ b/.github/workflows/build_python_connect.yml
@@ -129,7 +129,9 @@ jobs:
         uses: actions/upload-artifact@v4
         with:
           name: test-results-spark-connect-python-only
-          path: "**/target/test-reports/*.xml"
+          path: |
+            **/target/test-reports/*.xml
+            **/target/surefire-reports/*.xml
       - name: Upload Spark Connect server log file
         if: ${{ !success() }}
         uses: actions/upload-artifact@v4
diff --git a/.github/workflows/build_python_connect35.yml 
b/.github/workflows/build_python_connect35.yml
index 0512e33d6cbe..b9ecd8c92cc6 100644
--- a/.github/workflows/build_python_connect35.yml
+++ b/.github/workflows/build_python_connect35.yml
@@ -108,7 +108,9 @@ jobs:
         uses: actions/upload-artifact@v4
         with:
           name: test-results-spark-connect-python-only
-          path: "**/target/test-reports/*.xml"
+          path: |
+            **/target/test-reports/*.xml
+            **/target/surefire-reports/*.xml
       - name: Upload Spark Connect server log file
         if: ${{ !success() }}
         uses: actions/upload-artifact@v4
diff --git a/.github/workflows/maven_test.yml b/.github/workflows/maven_test.yml
index 7bbfc420e02a..d6bc194f9a47 100644
--- a/.github/workflows/maven_test.yml
+++ b/.github/workflows/maven_test.yml
@@ -234,7 +234,9 @@ jobs:
         uses: actions/upload-artifact@v4
         with:
           name: test-results-${{ matrix.modules }}-${{ matrix.comment }}-${{ 
matrix.java }}-${{ matrix.hadoop }}-${{ matrix.hive }}
-          path: "**/target/test-reports/*.xml"
+          path: |
+            **/target/test-reports/*.xml
+            **/target/surefire-reports/*.xml
       - name: Upload unit tests log files
         if: failure()
         uses: actions/upload-artifact@v4
diff --git a/.github/workflows/python_hosted_runner_test.yml 
b/.github/workflows/python_hosted_runner_test.yml
index 2fc11ff7f27d..95caa85b0f43 100644
--- a/.github/workflows/python_hosted_runner_test.yml
+++ b/.github/workflows/python_hosted_runner_test.yml
@@ -167,7 +167,9 @@ jobs:
         uses: actions/upload-artifact@v4
         with:
           name: test-results-${{ inputs.os }}-${{ matrix.modules }}--${{ 
matrix.java }}-${{ inputs.hadoop }}-hive2.3-${{ env.PYTHON_TO_TEST }}
-          path: "**/target/test-reports/*.xml"
+          path: |
+            **/target/test-reports/*.xml
+            **/target/surefire-reports/*.xml
       - name: Upload unit tests log files
         env: ${{ fromJSON(inputs.envs) }}
         if: ${{ !success() }}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to