Skip to content

Commit

Permalink
Tweak to GitHub Action Workflow YAML for .NET Core 8.0 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jrnelson90 committed Dec 6, 2023
1 parent da61874 commit 139d6ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/8_0_Core_Unit_Tests_Win.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 139d6ff

Please sign in to comment.