mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-01 09:48:37 +00:00
Upload individual test log files
This commit is contained in:
parent
bbaccef2e6
commit
89857b99bc
1 changed files with 7 additions and 7 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -44,18 +44,18 @@ jobs:
|
|||
- name: Compile
|
||||
run: dotnet build -c Debug
|
||||
|
||||
- name: ProjectLighthouse.Tests
|
||||
- name: Run tests on ProjectLighthouse.Tests
|
||||
continue-on-error: true
|
||||
run: dotnet test --logger "trx;LogFileName=${{github.workspace}}/TestResults-${{matrix.os.prettyName}}.trx" ProjectLighthouse.Tests
|
||||
run: dotnet test --logger "trx;LogFileName=${{github.workspace}}/TestResults-${{matrix.os.prettyName}}-Tests.trx" ProjectLighthouse.Tests
|
||||
|
||||
- name: ProjectLighthouse.Tests.GameApiTests
|
||||
- name: Run tests on ProjectLighthouse.Tests.GameApiTests
|
||||
continue-on-error: true
|
||||
run: dotnet test --logger "trx;LogFileName=${{github.workspace}}/TestResults-${{matrix.os.prettyName}}.trx" ProjectLighthouse.Tests.GameApiTests
|
||||
run: dotnet test --logger "trx;LogFileName=${{github.workspace}}/TestResults-${{matrix.os.prettyName}}-GameApiTests.trx" ProjectLighthouse.Tests.GameApiTests
|
||||
|
||||
- name: ProjectLighthouse.Tests.WebsiteTests
|
||||
- name: Run tests on ProjectLighthouse.Tests.WebsiteTests
|
||||
if: ${{ matrix.os.webTest }}
|
||||
continue-on-error: true
|
||||
run: dotnet test --logger "trx;LogFileName=${{github.workspace}}/TestResults-${{matrix.os.prettyName}}.trx" ProjectLighthouse.Tests.WebsiteTests
|
||||
run: dotnet test --logger "trx;LogFileName=${{github.workspace}}/TestResults-${{matrix.os.prettyName}}-WebsiteTests.trx" ProjectLighthouse.Tests.WebsiteTests
|
||||
|
||||
# Attempt to upload results even if test fails.
|
||||
# https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#always
|
||||
|
@ -64,7 +64,7 @@ jobs:
|
|||
if: ${{ always() }}
|
||||
with:
|
||||
name: lighthouse-test-results-${{matrix.os.prettyName}}
|
||||
path: ${{github.workspace}}/TestResults-${{matrix.os.prettyName}}.trx
|
||||
path: ${{github.workspace}}/TestResults-${{matrix.os.prettyName}}-*.trx
|
||||
|
||||
- name: Process Test Results
|
||||
id: process-trx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue