From 03fbfc2ff0237de3b14686343e0bb4fc84463906 Mon Sep 17 00:00:00 2001 From: Eyre_S Date: Wed, 5 Feb 2025 00:41:50 +0800 Subject: [PATCH] fix action's test report generate --- .github/workflows/unit-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 7ae6f79..be68254 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -24,15 +24,14 @@ jobs: uses: sbt/setup-sbt@v1 - name: "Run unit tests" id: do-unit-test + continue-on-error: true run: sbt test - name: "Upload test reports as artifact" - if: steps.do-unit-test.conclusion == 'failure' || steps.do-unit-test.conclusion == 'success' uses: actions/upload-artifact@v4 with: name: 'unit-test-report' path: ./*/target/test-reports/* - name: "Publish test report to summary" - if: steps.do-unit-test.conclusion == 'failure' || steps.do-unit-test.conclusion == 'success' uses: phoenix-actions/test-reporting@v15 with: output-to: 'step-summary'