-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add test reporter for easier overview of test results
- Loading branch information
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,7 +137,18 @@ jobs: | |
9.0.x | ||
- name: 🧪 Run unit tests | ||
run: dotnet test -c release -p:VSTestUseMSBuildOutput=false --logger "console;verbosity=normal" | ||
run: dotnet test -c release -p:VSTestUseMSBuildOutput=false --verbosity normal --logger trx --results-directory TestResults --collect "XPlat Code Coverage" | ||
|
||
- name: Test Reports | ||
uses: bibipkins/[email protected] | ||
if: always() | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
comment-title: "Unit Test Results" | ||
results-path: ./TestResults/*.trx | ||
coverage-path: ./TestResults/**/coverage.cobertura.xml | ||
coverage-type: cobertura | ||
coverage-threshold: 0.00 | ||
|
||
- name: 📛 Upload hang- and crash-dumps on test failure | ||
if: failure() | ||
|