-
Notifications
You must be signed in to change notification settings - Fork 412
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
114 changed files
with
6,521 additions
and
959 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,13 @@ jobs: | |
build: | ||
runs-on: windows-latest | ||
continue-on-error: false | ||
|
||
name: "Build and run unit tests" | ||
steps: | ||
- name: Set git core.longpaths flag | ||
run: | | ||
git config --system core.longpaths true | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
|
||
|
@@ -36,7 +41,7 @@ jobs: | |
|
||
- name: Strong name bypass | ||
run: | | ||
regedit /s .\build\strongNameBypass.reg | ||
regedit /s .\build\strongNameBypass.reg | ||
- name: Run the tests | ||
run: dotnet test Wilson.sln --collect:"XPlat Code Coverage" --settings:./build/CodeCoverage.runsettings | ||
|
@@ -50,21 +55,22 @@ jobs: | |
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 | ||
# Temporarily disable commenting the coverage report | ||
# echo "COMMENT_CONTENT_ENV_VAR<<EOF" >> $GITHUB_ENV | ||
# echo $(cat CodeCoverage/SummaryGithub.md) >> $GITHUB_ENV | ||
# echo "EOF" >> $GITHUB_ENV | ||
|
||
- name: Comment coverage in PR | ||
uses: actions/github-script@v7 | ||
id: comment | ||
with: | ||
script: | | ||
github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: process.env.COMMENT_CONTENT_ENV_VAR | ||
}) | ||
# - name: Comment coverage in PR | ||
# uses: actions/github-script@v7 | ||
# id: comment | ||
# with: | ||
# script: | | ||
# github.rest.issues.createComment({ | ||
# issue_number: context.issue.number, | ||
# owner: context.repo.owner, | ||
# repo: context.repo.repo, | ||
# body: process.env.COMMENT_CONTENT_ENV_VAR | ||
# }) | ||
|
||
# Run baseline package validation | ||
- name: Pack | ||
|
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
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
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
Oops, something went wrong.