mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-13 15:29:03 +00:00
Use process-dotnet-test-results
This commit is contained in:
parent
49ce55b8b8
commit
75bd8e6100
1 changed files with 9 additions and 2 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -37,7 +37,8 @@ jobs:
|
|||
run: dotnet build -c Debug
|
||||
|
||||
- name: Test
|
||||
run: dotnet test --logger "trx;LogFileName=TestResults-${{matrix.os.prettyName}}.trx"
|
||||
continue-on-error: true
|
||||
run: dotnet test --logger "trx;LogFileName=${{github.workspace}}/TestResults-${{matrix.os.prettyName}}.trx"
|
||||
|
||||
|
||||
# Attempt to upload results even if test fails.
|
||||
|
@ -47,4 +48,10 @@ jobs:
|
|||
if: ${{ always() }}
|
||||
with:
|
||||
name: lighthouse-test-results-${{matrix.os.prettyName}}
|
||||
path: ${{github.workspace}}/ProjectLighthouse.Tests/TestResults/TestResults-${{matrix.os.prettyName}}.trx
|
||||
path: ${{github.workspace}}/TestResults-${{matrix.os.prettyName}}.trx
|
||||
|
||||
- name: Process Test Results
|
||||
if: ${{ always() }}
|
||||
uses: im-open/process-dotnet-test-results@v2.0.0
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue