You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by ct...@apache.org on 2020/10/13 21:03:43 UTC

[fluo-yarn] branch main updated: Upload test logs on build failure (#24)

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

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluo-yarn.git


The following commit(s) were added to refs/heads/main by this push:
     new c675660  Upload test logs on build failure (#24)
c675660 is described below

commit c6756607c97adbf5e15c34f3d6f67b2053eae780
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Tue Oct 13 17:00:33 2020 -0400

    Upload test logs on build failure (#24)
---
 .github/workflows/maven.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 0b5108b..dc8ff37 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -52,12 +52,14 @@ jobs:
       env:
         MAVEN_OPTS: -Djansi.force=true
     - name: Upload unit test results
+      if: ${{ failure() }}
       uses: actions/upload-artifact@v2
       with:
         name: surefire-reports
         path: ./**/target/surefire-reports/
         if-no-files-found: ignore
     - name: Upload integration test results
+      if: ${{ failure() }}
       uses: actions/upload-artifact@v2
       with:
         name: failsafe-reports