MLOpsPython icon indicating copy to clipboard operation
MLOpsPython copied to clipboard

Allow generation of HTML Code Coverage reports

Open ShaneOsborne opened this issue 2 years ago • 0 comments

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

ShaneOsborne avatar Mar 09 '22 11:03 ShaneOsborne