Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow generation of HTML Code Coverage reports #399

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ShaneOsborne
Copy link

Currently when running this pipeline a message
##[warning]Please install dotnet core to enable automatic generation of Html report.
is displayed under code coverage.

This fix adds an addiitonal task to install .Net Core SDK as well as set the environment variable DOTNET_SYSTEM_GLOBALIZATION_INVARIANT to 1 for the publish coverage report task.
A new warning will now be shown-
##[warning]Ignoring coverage report directory with Html content as we are auto-generating Html content

However now if you view the code coverage report it is HTML generated and looks a lot better than before

Currently when running this pipeline a message 
##[warning]Please install dotnet core to enable automatic generation of Html report.
is displayed under code coverage.

This fix adds an addiitonal task to install .Net Core SDK as well as set the environment variable DOTNET_SYSTEM_GLOBALIZATION_INVARIANT to 1 for the publish coverage report task.
A new warning will now be shown-
##[warning]Ignoring coverage report directory with Html content as we are auto-generating Html content

However now if you view the code coverage report it is HTML generated and looks a lot better than before
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