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

ethanfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new 4a8723f0b [CELEBORN-1569] Upload unit-tests.log and test-reports when 
CI fails
4a8723f0b is described below

commit 4a8723f0b640fe68bc41a7843dc15bf98aced359
Author: sychen <[email protected]>
AuthorDate: Mon Aug 19 18:25:09 2024 +0800

    [CELEBORN-1569] Upload unit-tests.log and test-reports when CI fails
    
    ### What changes were proposed in this pull request?
    
    ### Why are the changes needed?
    Missing detailed logs when SBT CI fails.
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    GA
    
    Closes #2693 from cxzl25/CELEBORN-1569.
    
    Authored-by: sychen <[email protected]>
    Signed-off-by: mingji <[email protected]>
---
 .github/workflows/maven.yml | 7 +++++++
 .github/workflows/sbt.yml   | 7 ++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 77ed9ab17..a3668c7e4 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -40,7 +40,9 @@ jobs:
       with:
         name: service-unit-test-log
         path: |
+          **/target/test-reports/**
           **/target/unit-tests.log
+
     - name: Upload coverage to Codecov
       if: matrix.java == 8
       uses: codecov/codecov-action@v3
@@ -77,6 +79,7 @@ jobs:
         with:
           name: spark-${{ matrix.spark }}-unit-test-log
           path: |
+            **/target/test-reports/**
             **/target/unit-tests.log
 
   spark3:
@@ -140,6 +143,7 @@ jobs:
       with:
         name: spark-${{ matrix.spark }}-unit-test-log
         path: |
+          **/target/test-reports/**
           **/target/unit-tests.log
 
   flink:
@@ -179,6 +183,7 @@ jobs:
         with:
           name: flink-${{ matrix.flink }}-unit-test-log
           path: |
+            **/target/test-reports/**
             **/target/unit-tests.log
 
   mr:
@@ -211,3 +216,5 @@ jobs:
           name: mr-unit-test-log
           path: |
             **/target/test/
+            **/target/test-reports/**
+            **/target/unit-tests.log
diff --git a/.github/workflows/sbt.yml b/.github/workflows/sbt.yml
index 293ec3c30..f90e65e37 100644
--- a/.github/workflows/sbt.yml
+++ b/.github/workflows/sbt.yml
@@ -59,6 +59,7 @@ jobs:
           name: service-java-${{ matrix.java }}-scala-${{ matrix.scala 
}}-unit-test-log
           path: |
               **/target/test-reports/**
+              **/target/unit-tests.log
 
   spark2:
     runs-on: ubuntu-22.04
@@ -90,7 +91,7 @@ jobs:
             name: spark-${{ matrix.spark }}-unit-test-log
             path: |
                 **/target/test-reports/**
-
+                **/target/unit-tests.log
   spark3:
     runs-on: ubuntu-22.04
     strategy:
@@ -193,6 +194,7 @@ jobs:
           name: spark-${{ matrix.spark }}-scala-${{ matrix.scala 
}}-unit-test-log
           path: |
               **/target/test-reports/**
+              **/target/unit-tests.log
 
   flink:
     runs-on: ubuntu-22.04
@@ -228,6 +230,7 @@ jobs:
             name: flink-${{ matrix.flink }}-unit-test-log
             path: |
                 **/target/test-reports/**
+                **/target/unit-tests.log
 
   mr:
     runs-on: ubuntu-22.04
@@ -255,3 +258,5 @@ jobs:
           name: mr-unit-test-log
           path: |
             **/target/test/
+            **/target/test-reports/**
+            **/target/unit-tests.log

Reply via email to