{"id":22837243,"url":"https://github.com/cake-contrib/cake.codecov","last_synced_at":"2025-08-21T13:32:24.249Z","repository":{"id":21350529,"uuid":"86527148","full_name":"cake-contrib/Cake.Codecov","owner":"cake-contrib","description":"Adds Codecov support to Cake.","archived":false,"fork":false,"pushed_at":"2024-07-25T13:50:49.000Z","size":458,"stargazers_count":4,"open_issues_count":10,"forks_count":7,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2024-12-12T23:16:02.599Z","etag":null,"topics":["build","cake","cake-addin","cake-build","codecov","coverage","hacktoberfest","script"],"latest_commit_sha":null,"homepage":"https://cakebuild.net/extensions/cake-codecov","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cake-contrib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-29T02:00:58.000Z","updated_at":"2024-05-07T16:26:46.000Z","dependencies_parsed_at":"2024-06-19T19:08:04.697Z","dependency_job_id":"d1e05f30-9fd6-485c-b60a-af5fae202a18","html_url":"https://github.com/cake-contrib/Cake.Codecov","commit_stats":{"total_commits":240,"total_committers":13,"mean_commits":18.46153846153846,"dds":"0.37083333333333335","last_synced_commit":"016fa0f57c5246e8aee56fabb13c31c4fa7c813e"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cake-contrib%2FCake.Codecov","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cake-contrib%2FCake.Codecov/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cake-contrib%2FCake.Codecov/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cake-contrib%2FCake.Codecov/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cake-contrib","download_url":"https://codeload.github.com/cake-contrib/Cake.Codecov/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230516183,"owners_count":18238352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","cake","cake-addin","cake-build","codecov","coverage","hacktoberfest","script"],"created_at":"2024-12-12T23:16:06.095Z","updated_at":"2024-12-20T00:08:15.406Z","avatar_url":"https://github.com/cake-contrib.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cake.Codecov\n\n[![All Contributors][all-contributorsimage]](#contributors)\n[![AppVeyor branch](https://img.shields.io/appveyor/build/cakecontrib/cake-codecov/develop?logo=appveyor)](https://ci.appveyor.com/project/cakecontrib/cake-codecov/branch/develop)\n[![GitHub Build](https://img.shields.io/github/actions/workflow/status/cake-contrib/Cake.Codecov/build.yml?logo=github)](https://github.com/cake-contrib/Cake.Codecov/actions/workflows/build.yml?query=branch%3Adevelop)\n[![NuGet](https://img.shields.io/nuget/v/Cake.Codecov?logo=nuget)](https://www.nuget.org/packages/Cake.Codecov/)\n[![Codecov](https://img.shields.io/codecov/c/github/cake-contrib/Cake.Codecov?logo=codecov)](https://codecov.io/gh/cake-contrib/Cake.Codecov)\n\nA [Cake](https://cakebuild.net) addin that extends Cake with the ability to use\nthe official\n[Codecov](https://docs.codecov.com/docs/codecov-uploader#using-the-cli) CLI that\nhave been repackaged as a NuGet package named [CodecovUploader](https://www.nuget.org/packages/CodecovUploader).\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n## Table of Contents\n\n- [Usage](#usage)\n- [Documentation](#documentation)\n- [Codecov Tips](#codecov-tips)\n- [Questions](#questions)\n- [Known Issues](#known-issues)\n- [Contributors](#contributors)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Usage\n\nIn order to use this addin, add to your Cake script\n\n```csharp\n#tool nuget:?package=CodecovUploader\n#addin nuget:?package=Cake.Codecov // Any versions before 1.1.0 is not guaranteed to work anymore.\n```\n\nThen use one of the following snippets to upload your coverage report to Codecov.\n\n```csharp\nTask(\"Upload-Coverage\")\n    .Does(() =\u003e\n{\n    // Upload a coverage report.\n    Codecov(\"coverage.xml\");\n});\n```\n\n```csharp\nTask(\"Upload-Coverage\")\n    .Does(() =\u003e\n{\n    // Upload coverage reports.\n    Codecov(new[] { \"coverage1.xml\", \"coverage2.xml\" });\n});\n```\n\n```csharp\nTask(\"Upload-Coverage\")\n    .Does(() =\u003e\n{\n    // Upload a coverage report by providing the Codecov upload token.\n    Codecov(\"coverage.xml\", \"00000000-0000-0000-0000-000000000000\");\n});\n```\n\n```csharp\nTask(\"Upload-Coverage\")\n    .Does(() =\u003e\n{\n    // Upload coverage reports by providing the Codecov upload token.\n    Codecov(new[] { \"coverage1.xml\", \"coverage2.xml\" }, \"00000000-0000-0000-0000-000000000000\");\n});\n```\n\n```csharp\nTask(\"Upload-Coverage\")\n    .Does(() =\u003e\n{\n    // Upload a coverage report using the CodecovSettings.\n    Codecov(new CodecovSettings {\n        Files = new[] { \"coverage.xml\" },\n        Token = \"00000000-0000-0000-0000-000000000000\",\n        Flags = \"ut\"\n    });\n});\n```\n\n## Documentation\n\nDocumentation for the addin can be found on the [Cake Website](https://cakebuild.net/extensions/cake-codecov/).\n\n## Codecov Tips\n\n1. While CI Service like GitHub Action, these workflows are likely to hit a rate\n   limit on Codecov. As such it is recommended to always pass in a repository or\n   global token when one is available.\n2. Do not set NonZero to `true` when running without a Codecov token.\n\n## Questions\n\nFeel free to open an [issue](https://github.com/cake-contrib/Cake.Codecov/issues) or ask a question in [GitHub Discussions](https://github.com/cake-build/cake/discussions) under the [Extension Q\u0026A](https://github.com/cake-build/cake/discussions/categories/extension-q-a) category, and by tagging us: **@larzw** and/or **@AdmiringWorm**.\n\n## Known Issues\n\n- Coverage report upload fails when using gitversion (or other tools that change the appveyor build version)\n  Workaround: Add the following in your Upload Coverage task (*only needed if gitversion is run on the same call as the uploading of coverage reports in appveyor.yml*)\n\n  ```csharp\n  Task(\"Upload-Coverage\")\n      .Does(() =\u003e\n  {\n      // The logic may differ from what you actually need.\n      // This way is for the use with GitVersion.\n      // Basically, the buildVersion format needs to be exactly the\n      // same as the build version shown on appveyor when the build is done.\n      var buildVersion = string.Format(\"{0}.build.{1}\",\n          variableThatStores_GitVersion_FullSemVer,\n          BuildSystem.AppVeyor.Environment.Build.Number\n      );\n      var settings = new CodecovSettings {\n          Files = new[] { \"coverage.xml\" },\n          EnvironmentVariables = new Dictionary\u003cstring,string\u003e { { \"APPVEYOR_BUILD_VERSION\", buildVersion } }\n      };\n      Codecov(settings);\n  });\n  ```\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://www.linkedin.com/in/larz-white-5a8264108\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/6298611?v=4?s=100\" width=\"100px;\" alt=\"Larz White\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eLarz White\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#maintenance-larzw\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/AdmiringWorm\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/1474648?v=4?s=100\" width=\"100px;\" alt=\"Kim J. Nordmo\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eKim J. Nordmo\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#maintenance-AdmiringWorm\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"http://www.gep13.co.uk/blog\"\u003e\u003cimg src=\"https://avatars3.githubusercontent.com/u/1271146?v=4?s=100\" width=\"100px;\" alt=\"Gary Ewan Park\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eGary Ewan Park\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/pulls?q=is%3Apr+reviewed-by%3Agep13\" title=\"Reviewed Pull Requests\"\u003e👀\u003c/a\u003e \u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/issues?q=author%3Agep13\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/vkbishnoi\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/8297727?v=4?s=100\" width=\"100px;\" alt=\"Vishal Bishnoi\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVishal Bishnoi\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/commits?author=vkbishnoi\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://twitter.com/hereispascal\"\u003e\u003cimg src=\"https://avatars1.githubusercontent.com/u/2190718?v=4?s=100\" width=\"100px;\" alt=\"Pascal Berger\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePascal Berger\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/issues?q=author%3Apascalberger\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/twenzel\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/500376?v=4?s=100\" width=\"100px;\" alt=\"Toni Wenzel\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eToni Wenzel\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/issues?q=author%3Atwenzel\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/Jericho\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/112710?v=4?s=100\" width=\"100px;\" alt=\"jericho\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ejericho\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/issues?q=author%3AJericho\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/gitfool\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/750121?v=4?s=100\" width=\"100px;\" alt=\"Sean Fausett\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eSean Fausett\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/commits?author=gitfool\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://augustoproiete.net\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/177608?v=4?s=100\" width=\"100px;\" alt=\"C. Augusto Proiete\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eC. Augusto Proiete\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/commits?author=augustoproiete\" title=\"Documentation\"\u003e📖\u003c/a\u003e \u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/issues?q=author%3Aaugustoproiete\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://blog.nils-andresen.de\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/349188?v=4?s=100\" width=\"100px;\" alt=\"Nils Andresen\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eNils Andresen\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/cake-contrib/Cake.Codecov/commits?author=nils-a\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n[all-contributors]: https://github.com/all-contributors/all-contributors\n[all-contributorsimage]: https://img.shields.io/github/all-contributors/cake-contrib/Cake.Codecov.svg?color=orange\u0026style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcake-contrib%2Fcake.codecov","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcake-contrib%2Fcake.codecov","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcake-contrib%2Fcake.codecov/lists"}