Skip to content
Permalink
Browse files
Upload test logs on build failure
  • Loading branch information
ctubbsii committed Oct 13, 2020
1 parent fa359ff commit 911d2f8f4f7fd551f64bf7f6b190f5a6864353b9
Showing 1 changed file with 3 additions and 0 deletions.
@@ -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 }}

0 comments on commit 911d2f8

Please sign in to comment.