Repository navigation
Remove leftover OpenCover and CodecovUploader tooling - #4129
Merged
Merged
Conversation
build/opencover-report.ps1 ran OpenCover, which is no longer restored by .nuget/packages.config, against net452/net46 test assemblies that no longer exist.
The coverage files are Cobertura reports from coverlet, but kept the OpenCover.Reports folder and OpenCover.*.xml names from the retired Azure pipeline. Name them build/coverage and coverage.*.cobertura.xml instead, and replace the OpenCover entries in .gitignore.
Azure Pipelines used it to upload coverage. CI now uploads with codecov/codecov-action.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4129 +/- ##
=======================================
Coverage 97.37% 97.37%
=======================================
Files 1060 1060
Lines 122746 122746
Branches 4172 4172
=======================================
Hits 119527 119527
Misses 2115 2115
Partials 1104 1104 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes coverage tooling that nothing uses since #4105 retired Azure Pipelines and #4126 moved coverage to coverlet with a codecov-action upload.
build/opencover-report.ps1and its entry inStyleCopAnalyzers.sln. It ran OpenCover (no longer in.nuget/packages.config) against net452/net46 test assemblies that no longer exist.build/OpenCover.Reports/OpenCover.*.xml, the names left over from the Azure pipeline. They are nowbuild/coverage/coverage.*.cobertura.xml, and the merge step's input pattern matches..gitignoredropsOpenCover.Reports/andOpenCover.Symbols/and ignores/build/coverage/instead. The stale comments that pointed at the deletedbuild/test.ymlare gone.CodecovUploaderpackage from.nuget/packages.config. Only Azure Pipelines used it. CI now uploads withcodecov/codecov-action.The coverlet arguments, the merged report and the Codecov upload are otherwise unchanged. The remaining mentions of OpenCover are comments explaining why Debug builds use portable PDBs and why the coverlet scope matches the old OpenCover filter.