diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index f389e98da..1c5826f15 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -57,17 +57,13 @@ jobs: - name: Test with .NET 6.0.x run: dotnet test --no-restore --no-build Microsoft.Identity.Web.sln -f net6.0 -v normal -p:FROM_GITHUB_ACTION=true --configuration Release --collect "Xplat Code Coverage" --filter "(FullyQualifiedName!~Microsoft.Identity.Web.Test.Integration)&(FullyQualifiedName!~WebAppUiTests)&(FullyQualifiedName!~IntegrationTests)&(FullyQualifiedName!~TokenAcquirerTests)" - # - name: Upload Coverage Report - # uses: actions/upload-artifact@v4 - # with: - # path: "./**/coverage.cobertura.xml" - - name: Create code coverage report run: | dotnet tool install -g dotnet-reportgenerator-globaltool reportgenerator -reports:./**/coverage.cobertura.xml -targetdir:CodeCoverage -reporttypes:'MarkdownSummaryGithub;Cobertura' - name: Write to Job Summary + shell: bash run: cat CodeCoverage/SummaryGithub.md >> $GITHUB_STEP_SUMMARY - name: Test with .NET 7.0.x