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:06:50 UTC

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

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-examples.git


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

commit 48d42571887feafdd392df1353a05a6fc287b6ea
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Tue Oct 13 17:02:03 2020 -0400

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

diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 6bc4722..22db31c 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