Open ahsonkhan opened 1 year ago
Azure DevOps supports one set of code coverage statistics for an entire pipeline run. This forced us into the current configuration we have today.
To that end, we should probably focus on outputting code coverage in the logs but there wouldn't be an obvious way to bubble that information up and easily enforce it the way that we do with our linux/curl run today.
We currently measure on Linux only, so only the curl transport paths are showing up. The WinHttp code coverage is missing.
Extracted from https://github.com/Azure/azure-sdk-for-cpp/pull/4015#discussion_r1002065122
Our code coverage CI leg only runs on linux/curl, so we don't see the coverage number for Windows-specific transport adapter files:
https://dev.azure.com/azure-sdk/public/_build/results?buildId=1934177&view=codecoverage-tab
https://github.com/Azure/azure-sdk-for-cpp/blob/53c9da155244b72ac90ad27f515d4ea1e7505a01/eng/pipelines/templates/stages/platform-matrix.json#L143-L149
https://github.com/Azure/azure-sdk-for-cpp/blob/53c9da155244b72ac90ad27f515d4ea1e7505a01/eng/pipelines/templates/stages/platform-matrix-live.json#L37-L43
cc @danieljurek, @vhvb1989, @LarryOsterman