This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
dotnet-version: |
|
||||
8.x
|
||||
- name: "Restore/Build/Test"
|
||||
run: dotnet test ./src/LittleTown.sln --configuration Release --verbosity normal --logger trx --collect:"XPlat Code Coverage"
|
||||
run: dotnet test ./src/LittleTown.sln --configuration Release --verbosity normal --logger trx --collect:"XPlat Code Coverage" --logger:"trx;LogFileName=test_results.xml"
|
||||
- name: Combine Coverage Reports # This is because one report is produced per project, and we want one result for all of them.
|
||||
uses: danielpalme/ReportGenerator-GitHub-Action@5.3.8
|
||||
with:
|
||||
@@ -86,12 +86,6 @@ jobs:
|
||||
path: ${{ github.workspace }}/**/TestResults/**/*
|
||||
retention-days: 5
|
||||
|
||||
- name: test
|
||||
image: mcr.microsoft.com/dotnet/sdk:7.0
|
||||
commands:
|
||||
- dotnet test --logger:"trx;LogFileName=test_results.xml"
|
||||
- report-tool publish test_results.xml
|
||||
|
||||
- name: publish-comment
|
||||
image: curlimages/curl
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user