-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
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
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 |
---|---|---|
|
@@ -20,14 +20,14 @@ on: | |
jobs: | ||
build: | ||
runs-on: windows-latest | ||
continue-on-error: true | ||
continue-on-error: false | ||
name: "Build and run unit tests" | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup .NET 9.0.x | ||
uses: actions/setup-dotnet@v4.0.1 | ||
uses: actions/setup-dotnet@v4.1.0 | ||
with: | ||
dotnet-version: 9.0.x | ||
|
||
|
@@ -53,18 +53,18 @@ jobs: | |
|
||
- name: Create code coverage report | ||
run: | | ||
dotnet tool install -g dotnet-reportgenerator-globaltool | ||
dotnet tool install -g dotnet-reportgenerator-globaltool --version 5.4.1 | ||
reportgenerator -reports:./**/coverage.cobertura.xml -targetdir:CodeCoverage -reporttypes:'MarkdownSummaryGithub;Cobertura' | ||
- name: Write Coverage to Job Summary | ||
- name: Write coverage to job summary | ||
shell: bash | ||
run: | | ||
cat CodeCoverage/SummaryGithub.md >> $GITHUB_STEP_SUMMARY | ||
echo "COMMENT_CONTENT_ENV_VAR<<EOF" >> $GITHUB_ENV | ||
echo $(cat CodeCoverage/SummaryGithub.md) >> $GITHUB_ENV | ||
echo "EOF" >> $GITHUB_ENV | ||
- name: Comment Coverage in PR | ||
- name: Comment coverage in PR | ||
uses: actions/github-script@v7 | ||
id: comment | ||
with: | ||
|