Skip to content

Commit

Permalink
Replace Codecov.Tool with CodecovUploader
Browse files Browse the repository at this point in the history
  • Loading branch information
gtbuchanan committed Mar 27, 2024
1 parent b081057 commit 4ef2400
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/Nuke.Common/Tools/Codecov/Codecov.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "Codecov",
"officialUrl": "https://about.codecov.io/",
"help": "Code coverage is a measurement used to express which lines of code were executed by a test suite. We use three primary terms to describe each line executed.<para/><ul><li>hit - indicates that the source code was executed by the test suite.</li><li>partial - indicates that the source code was not fully executed by the test suite; there are remaining branches that were not executed.</li><li>miss - indicates that the source code was not executed by the test suite.</li></ul><para/>Coverage is the ratio of <c>hits / (sum of hit + partial + miss)</c>. A code base that has 5 lines executed by tests out of 12 total lines will receive a coverage ratio of 41% (rounding down).<para/>Phrased simply, code coverage provides a visual measurement of what source code is being executed by a test suite. This information indicates to the software developer where they should write new tests in an effort to achieve higher coverage.<para/>Testing source code helps to prevent bugs and syntax errors by executing each line with a known variable and cross-checking it with an expected output.",
"nugetPackageId": "Codecov.Tool",
"nugetPackageId": "CodecovUploader",
"customExecutable": true,
"tasks": [
{
Expand Down
4 changes: 2 additions & 2 deletions source/Nuke.Common/Tools/Codecov/CodecovTasks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ partial class CodecovTasks
internal static string GetToolPath(string framework = null)
{
return NuGetToolPathResolver.GetPackageExecutable(
packageId: "Codecov.Tool",
packageExecutable: "codecov.dll",
packageId: "CodecovUploader",
packageExecutable: "codecov.exe",
framework: framework);
}
}

0 comments on commit 4ef2400

Please sign in to comment.