From a5a64526954e24e33eb689233972aae89d5a5d5d Mon Sep 17 00:00:00 2001 From: "Rachel M. Carmena" Date: Tue, 22 Jun 2021 11:07:35 +0200 Subject: [PATCH] Configuration: recover test reports (#2420) --- .github/workflows/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c2d8167c988..0e0bc3fa9f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,3 +25,17 @@ jobs: - name: Build working-directory: arrow-libs run: ./gradlew build + - name: "Prepare test reports" + if: ${{ always() }} + run: | + mkdir test-reports + for report in `ls -d arrow-libs/**/**/build/reports/tests`; do + module=$(echo $report | cut -d/ -f3) + cp -r $report test-reports/$module + done + - name: "Make test reports available to download" + if: ${{ always() }} + uses: actions/upload-artifact@v1 + with: + name: test-reports + path: test-reports