diff --git a/.github/workflows/8_0_Core_Unit_Tests_Win.yaml b/.github/workflows/8_0_Core_Unit_Tests_Win.yaml index 566c5ba36..6ecb576c0 100644 --- a/.github/workflows/8_0_Core_Unit_Tests_Win.yaml +++ b/.github/workflows/8_0_Core_Unit_Tests_Win.yaml @@ -76,9 +76,12 @@ jobs: - name: Run Certify.Core.Tests.Unit Tests run: | - echo "D:\a\certify\certify\certify" | Out-File -FilePath $env:GITHUB_WORKSPACE -Encoding utf8 - echo "# Test Results" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Encoding utf8 + # echo "D:\a\certify\certify\certify" | Out-File -FilePath $env:GITHUB_WORKSPACE -Encoding utf8 + $env:GITHUB_WORKSPACE="D:\a\certify\certify\certify" + $env:GITHUB_STEP_SUMMARY="./test-summary.md" + # echo "# Test Results" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Encoding utf8 dotnet test Certify.Core.Tests.Unit.dll -v normal -f net8.0 -l trx -l "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true" --collect:"XPlat Code Coverage" --results-directory "TestResults-8_0-${{ runner.os }}" /testadapterpath:C:\%HOMEPATH%\.nuget\packages\coverlet.collector\6.0.0\build\netstandard1.0 -- RunConfiguration.CollectSourceInformation=true + Get-Content -Path ./TestResults-4_6_2-${{ runner.os }}/test-summary.md | Out-File -FilePath $env:GITHUB_STEP_SUMMARY working-directory: ./certify/src/Certify.Tests/Certify.Core.Tests.Unit/bin/Debug/net8.0 - name: Generated Test Coverage Report