Skip to content

Conversation

rmarinho
Copy link
Member

Description of Change

This pull request introduces automated code coverage collection and reporting to the test pipelines. The main changes add code coverage collection to the test execution process and publish the results as part of the build pipeline outputs.

Code Coverage Integration

  • Added code coverage collection to test runs by appending the --collect "Code Coverage" argument in RunTestWithLocalDotNet within dotnet.cake.

Pipeline Updates for Coverage Reporting

  • Updated maui-templates.yml pipeline to include a PublishCodeCoverageResults@2 task, publishing coverage results from Cobertura files.
  • Added PublishCodeCoverageResults@2 tasks to the test stages in handlers.yml, ensuring coverage results are published for both build and sample test pipelines. [1] [2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant