From 30dd3f61a8880a4b225b53dcf665fcbdbcab850c Mon Sep 17 00:00:00 2001 From: CoolSpy3 Date: Wed, 15 May 2024 18:46:56 -0700 Subject: [PATCH] [ci] archive the test report --- .github/workflows/gradle.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 93f64dd1..b88b14be 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -18,3 +18,10 @@ jobs: java-version: 17 - name: Build with Gradle run: ./gradlew build + - name: Archive the test report + if: ${{ always() }} # Always try to save the report (even if the build fails) + uses: actions/upload-artifact@v4 + with: + name: test-report + path: build/reports/tests/test + if-no-files-found: ignore # If no files were found, the build probably failed