From 93d6e5c4d5a2ab9a569e809bbd97cae66360dc4c Mon Sep 17 00:00:00 2001 From: litetex <40789489+litetex@users.noreply.github.com> Date: Sat, 26 Mar 2022 19:57:17 +0100 Subject: [PATCH] CI: Upload test reports when failure occurs --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f820dcbd..d2dbd9d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,3 +40,10 @@ jobs: echo running with mock downloader ./gradlew check --stacktrace -Ddownloader=MOCK fi + + - name: Upload test reports when failure occurs + uses: actions/upload-artifact@v3 + if: failure() + with: + name: NewPipeExtractor-test-reports + path: extractor/build/reports/tests/test/**