Skip to content

Commit d1a18e1

Browse files
committed
comment out the code coverage
1 parent 2e7b8ca commit d1a18e1

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/dotnetcore.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,25 @@ jobs:
5656
dotnet tool install -g dotnet-reportgenerator-globaltool --version 5.4.1
5757
reportgenerator -reports:./**/coverage.cobertura.xml -targetdir:CodeCoverage -reporttypes:'MarkdownSummaryGithub;Cobertura' -filefilters:'+src/**/*.cs'
5858
59-
- name: Write coverage to job summary
60-
shell: bash
61-
run: |
62-
cat CodeCoverage/SummaryGithub.md >> $GITHUB_STEP_SUMMARY
63-
echo "COMMENT_CONTENT_ENV_VAR<<EOF" >> $GITHUB_ENV
64-
echo $(cat CodeCoverage/SummaryGithub.md) >> $GITHUB_ENV
65-
echo "EOF" >> $GITHUB_ENV
66-
67-
- name: Comment coverage in PR
68-
uses: actions/github-script@v7
69-
id: comment
70-
with:
71-
script: |
72-
github.rest.issues.createComment({
73-
issue_number: context.issue.number,
74-
owner: context.repo.owner,
75-
repo: context.repo.repo,
76-
body: process.env.COMMENT_CONTENT_ENV_VAR
77-
})
59+
# - name: Write coverage to job summary
60+
# shell: bash
61+
# run: |
62+
# cat CodeCoverage/SummaryGithub.md >> $GITHUB_STEP_SUMMARY
63+
# echo "COMMENT_CONTENT_ENV_VAR<<EOF" >> $GITHUB_ENV
64+
# echo $(cat CodeCoverage/SummaryGithub.md) >> $GITHUB_ENV
65+
# echo "EOF" >> $GITHUB_ENV
66+
67+
# - name: Comment coverage in PR
68+
# uses: actions/github-script@v7
69+
# id: comment
70+
# with:
71+
# script: |
72+
# github.rest.issues.createComment({
73+
# issue_number: context.issue.number,
74+
# owner: context.repo.owner,
75+
# repo: context.repo.repo,
76+
# body: process.env.COMMENT_CONTENT_ENV_VAR
77+
# })
7878

7979
- name: Test with .NET 462
8080
run: dotnet test --no-restore --no-build Microsoft.Identity.Web.sln -f net462 -v normal -p:FROM_GITHUB_ACTION=true --configuration Release --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName!~IntegrationTests)"

0 commit comments

Comments
 (0)