mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2025-02-22 22:28:46 +08:00
fix action's test report generate
This commit is contained in:
parent
97b629100d
commit
03fbfc2ff0
3
.github/workflows/unit-test.yml
vendored
3
.github/workflows/unit-test.yml
vendored
@ -24,15 +24,14 @@ jobs:
|
|||||||
uses: sbt/setup-sbt@v1
|
uses: sbt/setup-sbt@v1
|
||||||
- name: "Run unit tests"
|
- name: "Run unit tests"
|
||||||
id: do-unit-test
|
id: do-unit-test
|
||||||
|
continue-on-error: true
|
||||||
run: sbt test
|
run: sbt test
|
||||||
- name: "Upload test reports as artifact"
|
- name: "Upload test reports as artifact"
|
||||||
if: steps.do-unit-test.conclusion == 'failure' || steps.do-unit-test.conclusion == 'success'
|
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: 'unit-test-report'
|
name: 'unit-test-report'
|
||||||
path: ./*/target/test-reports/*
|
path: ./*/target/test-reports/*
|
||||||
- name: "Publish test report to summary"
|
- 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
|
uses: phoenix-actions/test-reporting@v15
|
||||||
with:
|
with:
|
||||||
output-to: 'step-summary'
|
output-to: 'step-summary'
|
||||||
|
Loading…
Reference in New Issue
Block a user