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 15:50:40 UTC
[fluo] branch main updated: Upload test logs on build failure
(#1106)
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.git
The following commit(s) were added to refs/heads/main by this push:
new 1e6fdfb Upload test logs on build failure (#1106)
1e6fdfb is described below
commit 1e6fdfb7a9775167ea672991ed99a93ff2c66833
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Tue Oct 13 11:50:28 2020 -0400
Upload test logs on build failure (#1106)
---
.github/workflows/maven.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 882dd9e..a84d641 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -52,18 +52,21 @@ 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
path: ./**/target/failsafe-reports/
if-no-files-found: ignore
- name: Upload mini test logs
+ if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: mini-tests-logs