Skip to content

Commit 58b2f31

Browse files
Actions updates
1 parent 823a7ed commit 58b2f31

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/DotNetCore_Unit_Tests_Linux.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,13 @@ jobs:
8484
- name: Run Certify.Core.Tests.Unit Tests
8585
run: |
8686
export GITHUB_WORKSPACE="$GITHUB_WORKSPACE/certify"
87-
dotnet test --no-build -f net9.0 -l "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true;annotations.messageFormat=@error\n@trace"
87+
export GITHUB_STEP_SUMMARY="./TestResults-${{ runner.os }}/test-summary.md"
88+
dotnet test --no-build -f net9.0 --logger "GitHubActions;summary.includePassedTests=true;summary.includeSkippedTests=true;annotations.messageFormat=@error\n@trace"
8889
working-directory: ./certify/src/Certify.Tests/Certify.Core.Tests.Unit
8990

9091
- name: Generate Test Results Report
9192
run: |
92-
echo "# Test Results" > ./TestResults-${{ runner.os }}/test-summary.md
93+
echo "# Test Results" > $GITHUB_STEP_SUMMARY
9394
sed -i 's/<details>/<details open>/g' ./TestResults-${{ runner.os }}/test-summary.md
9495
cat ./TestResults-${{ runner.os }}/test-summary.md >> $GITHUB_STEP_SUMMARY
9596
working-directory: ./certify/src/Certify.Tests/Certify.Core.Tests.Unit

0 commit comments

Comments
 (0)