From 73d853b66a5e1d88be7ae24a58ed8c425bc6a817 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Tue, 16 Mar 2021 11:26:02 -0400 Subject: [PATCH] Capture Test Results in PR Builds (#1735) --- .github/workflows/pr-build-workflow.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml index 3c6696c0..713b8292 100644 --- a/.github/workflows/pr-build-workflow.yml +++ b/.github/workflows/pr-build-workflow.yml @@ -23,3 +23,11 @@ jobs: GRADLE_ENTERPRISE_URL: https://ge.spring.io/ with: arguments: check api + + - name: Capture Test Results + if: failure() + uses: actions/upload-artifact@v2 + with: + name: test-results + path: '*/build/reports/tests/**/*.*' + retention-days: 3