You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2020/10/13 02:02:02 UTC
[accumulo-examples] branch main updated: Upload test logs on build
failure
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/accumulo-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 320c201 Upload test logs on build failure
320c201 is described below
commit 320c201a4f825e2495c1509f882a611874c876ed
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Mon Oct 12 22:01:51 2020 -0400
Upload test logs on build failure
---
.github/workflows/maven.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 91530bf..7db021c 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -56,18 +56,21 @@ jobs:
env:
MAVEN_OPTS: -Djansi.force=true
- name: Upload unit test results
+ if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: surefire-reports-${{ matrix.profile.name }}
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-${{ matrix.profile.name }}
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-${{ matrix.profile.name }}