mirror of
https://github.com/actions/runner.git
synced 2025-12-24 10:28:39 +08:00
WIP: generate coverage report
Todo: 1. Use newest hash 2. Use index.html stats
This commit is contained in:
@@ -211,6 +211,7 @@ function coverage ()
|
||||
{
|
||||
heading "Coverage ..."
|
||||
cd Test && dotnet test --collect:"XPlat Code Coverage;Format=json"
|
||||
# reportgenerator -reports:"/workspaces/runner/src/Test/TestResults/ecf2bd75-83e9-489a-9339-d61293abf98b/coverage.cobertura.xml" -targetdir:"coveragereport" -reporttypes:Html
|
||||
}
|
||||
|
||||
function format()
|
||||
|
||||
Reference in New Issue
Block a user