Skip to content

Commit

Permalink
Update dotnet.yml to output test results
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin authored Aug 8, 2024
1 parent dd67ae9 commit aaaf360
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,11 @@ jobs:
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test --no-build --verbosity normal --logger trx --results-directory "TestResults"
- name: Upload dotnet test results
uses: actions/upload-artifact@v4
with:
name: dotnet-results
path: TestResults
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}

0 comments on commit aaaf360

Please sign in to comment.