From ccd0ac83adef9ea8b82912e7b9bd28e841945c42 Mon Sep 17 00:00:00 2001 From: matthew16550 Date: Thu, 5 May 2022 18:25:40 +1000 Subject: [PATCH] Make CI test results more visible --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2041b15ef..7f3665009 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,15 @@ jobs: run: gradle -q compileJava --no-daemon - name: Test - run: gradle -q test --no-daemon + run: gradle test --no-daemon + + - name: Upload test reports + uses: actions/upload-artifact@v3 + if: ${{ always() }} + with: + # Using github.run_number here to reduce confusion when downloading & comparing from several builds + name: ${{ github.run_number }}-${{ matrix.os }}-java-${{ matrix.java_version }}-test-reports + path: build/reports/tests/ upload: needs: [ workflow_config, test ]