Codecov 1.6.1

Suggested Alternatives

CodecovUploader

There is a newer version of this package available.
See the version list below for details.
dotnet add package Codecov --version 1.6.1                
NuGet\Install-Package Codecov -Version 1.6.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Codecov" Version="1.6.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codecov --version 1.6.1                
#r "nuget: Codecov, 1.6.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Codecov as a Cake Addin
#addin nuget:?package=Codecov&version=1.6.1

// Install Codecov as a Cake Tool
#tool nuget:?package=Codecov&version=1.6.1                

Codecov global executable uploader for .NET Framework/Core based builds.

https://codecov.io/ @codecov hello@codecov.io

Introduction

Build status NuGet Chocolatey Gitter codecov

  1. This uploader supports Windows 7 (x64) and above, Linux (x64), and OS X (x64).

  2. The following Services are supported: AppVeyor, Azure Pipelines, TeamCity (see section on TeamCity), and Git.

  3. Many Codecov CLI options are supported. Run .\codecov.exe --help or see CommandLineOptions.cs for more details.

  4. On windows you can download the exe from NuGet or Chocolatey. There is also the .Net tool called Codecov.Tool which supports all platforms. As an alternative to NuGet or Chocolatey you can download the exe as the asset Codecov-{os}.zip under the release. The following PowerShell (version 5) commands might be helpful.

(New-Object System.Net.WebClient).DownloadFile("<url>", (Join-Path $pwd "Codecov.zip")) # Download Codecov.zip from github release.
Expand-Archive .\Codecov.zip -DestinationPath . # UnZip the file.
.\Codecov\codecov.exe # Run codecov.exe with whatever commands you need.

Quick Start

For a basic use case, in PowerShell run the following commands,

> choco install codecov
> .\codecov.exe -f <path to coverage report> -t <Codecov upload token>

For an AppVeyor build, the appveyor.yml file would look something like

before_build:
- choco install codecov
test_script:
# Note that, a Codecov upload token is not required.
- codecov -f <path to coverage report>

Cake Addin

If you use Cake (C# Make) for your builds, you may be intrested in the Cake.Codecov addin.

TeamCity

TeamCity does not automatically make build parameters available as environment variables. You will need to add the following environment parameters to the build configuration. To do this make sure your Branch specification under the VCS Root is configured correctly,

<p> <img src="./Images/branch-spec.png" width="1000em"/> </p>

Then set your environment variables,

<p> <img src="./Images/envs.png" width="1000em"/> </p>

Note that, the above environment variables (except for env.TEAMCITY_BUILD_URL) can alternatively be set via the command line,

env.TEAMCITY_BUILD_BRANCH => --branch
env.TEAMCITY_BUILD_ID => --build
env.TEAMCITY_BUILD_COMMIT => --sha
env.TEAMCITY_BUILD_REPOSITORY => --slug

Questions and Contributions

All types of contributions are welcome! Feel free to open an issue or contact us through the gitter channel mentioning either @larzw or @AdmiringWorm.

Known Issues

  • Specifiyng file paths with spaces is currently not possible without a workaround. This is expected to be fixed when a new major release of codecov-exe is released (See issue #71 for possible workaround and tracking).

Maintainers

To create a relase, please do the following:

  • Push the latest changes to the master branch on github
  • Navigate to the release page and view the drafted release.
  • Make any necessary changes.
  • Publish the draft release on GitHub, targeting the master branch.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Codecov:

Package Downloads
Database.MongoDB.Migration

Package Description

GitHub repositories (15)

Showing the top 5 popular GitHub repositories that depend on Codecov:

Repository Stars
dotnet/machinelearning
ML.NET is an open source and cross-platform machine learning framework for .NET.
dotnet/winforms
Windows Forms is a .NET UI framework for building Windows desktop applications.
github/VisualStudio
GitHub Extension for Visual Studio
dotnet/roslyn-analyzers
WireMock-Net/WireMock.Net
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
Version Downloads Last updated
1.13.0 130,122 2/16/2021 1.13.0 is deprecated because it is no longer maintained.
1.12.4 6,193 1/12/2021 1.12.4 is deprecated because it is no longer maintained.
1.12.3 18,144 9/7/2020 1.12.3 is deprecated because it is no longer maintained.
1.12.2 5,262 8/17/2020 1.12.2 is deprecated because it is no longer maintained.
1.12.1 7,242 7/10/2020 1.12.1 is deprecated because it is no longer maintained.
1.12.0 10,102 6/23/2020 1.12.0 is deprecated because it is no longer maintained.
1.11.2 3,205 6/21/2020 1.11.2 is deprecated because it is no longer maintained.
1.11.1 5,227 6/10/2020 1.11.1 is deprecated because it is no longer maintained.
1.11.0 2,830 6/10/2020 1.11.0 is deprecated because it is no longer maintained.
1.10.0 73,042 2/1/2020 1.10.0 is deprecated because it is no longer maintained.
1.9.0 43,425 11/14/2019 1.9.0 is deprecated because it is no longer maintained.
1.8.0 5,308 10/31/2019 1.8.0 is deprecated because it is no longer maintained.
1.7.2 19,884 8/16/2019 1.7.2 is deprecated because it is no longer maintained.
1.7.1 14,156 8/2/2019 1.7.1 is deprecated because it is no longer maintained.
1.7.0 7,731 7/28/2019 1.7.0 is deprecated because it is no longer maintained.
1.6.1 7,180 7/16/2019 1.6.1 is deprecated because it is no longer maintained.
1.6.0 4,130 7/15/2019 1.6.0 is deprecated because it is no longer maintained.
1.5.0 20,270 5/5/2019 1.5.0 is deprecated because it is no longer maintained.
1.4.0 6,285 4/7/2019 1.4.0 is deprecated because it is no longer maintained.
1.3.0 3,946 2/28/2019 1.3.0 is deprecated because it is no longer maintained.
1.2.0 9,246 2/6/2019 1.2.0 is deprecated because it is no longer maintained.
1.1.1 41,551 1/10/2019 1.1.1 is deprecated because it is no longer maintained.
1.1.0 51,137 9/12/2018 1.1.0 is deprecated because it is no longer maintained.
1.0.5 21,670 7/1/2018 1.0.5 is deprecated because it is no longer maintained.
1.0.4 9,489 6/17/2018 1.0.4 is deprecated because it is no longer maintained.
1.0.3 61,902 8/11/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 3,070 8/7/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 25,355 6/3/2017 1.0.1 is deprecated because it is no longer maintained.
1.0.0 6,667 5/25/2017 1.0.0 is deprecated because it is no longer maintained.
0.4.0-beta 2,407 4/10/2017 0.4.0-beta is deprecated because it is no longer maintained.
0.3.0-beta 2,753 3/29/2017 0.3.0-beta is deprecated because it is no longer maintained.
0.2.0-beta 1,487 3/7/2017 0.2.0-beta is deprecated because it is no longer maintained.
0.1.0-beta 1,564 2/21/2017 0.1.0-beta is deprecated because it is no longer maintained.

All release notes for Codecov can be found on the GitHub site - https://github.com/codecov/codecov-exe/releases/tag/1.6.1