Codecov 1.6.1
See the version list below for details.
dotnet add package Codecov --version 1.6.1
NuGet\Install-Package Codecov -Version 1.6.1
<PackageReference Include="Codecov" Version="1.6.1" />
<PackageVersion Include="Codecov" Version="1.6.1" />
<PackageReference Include="Codecov" />
paket add Codecov --version 1.6.1
#r "nuget: Codecov, 1.6.1"
#addin nuget:?package=Codecov&version=1.6.1
#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
This uploader supports Windows 7 (x64) and above, Linux (x64), and OS X (x64).
The following Services are supported: AppVeyor, Azure Pipelines, TeamCity (see section on TeamCity), and Git.
Many Codecov CLI options are supported. Run
.\codecov.exe --help
or see CommandLineOptions.cs for more details.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.
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 (16)
Showing the top 16 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/wpf
WPF is a .NET Core UI framework for building Windows desktop applications.
|
|
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/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.
|
|
SciSharp/NumSharp
High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
|
|
dotnet/project-system
The .NET Project System for Visual Studio
|
|
microsoft/testfx
This repository holds the source code of Microsoft.Testing.Platform (MTP), a lightweight alternative to VSTest, as well as MSTest adapter and framework.
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
|
luca-piccioni/OpenGL.Net
Modern OpenGL bindings for C#.
|
|
aliyun/aliyun-openapi-net-sdk
The Alibaba Cloud V1.0 SDK will soon enter the Basic Security Maintenance phase and is no longer recommended for use.
|
|
microsoft/accessibility-insights-windows
Accessibility Insights for Windows
|
|
octokit/octokit.graphql.net
A GitHub GraphQL client library for .NET
|
|
microsoft/axe-windows
Automated accessibility testing engine for Windows applications
|
|
DotNetAnalyzers/AsyncUsageAnalyzers
Now superseded by Microsoft/vs-threading
|
Version | Downloads | Last Updated | |
---|---|---|---|
1.13.0 | 145,437 | 2/16/2021 | |
1.12.4 | 6,318 | 1/12/2021 | |
1.12.3 | 18,579 | 9/7/2020 | |
1.12.2 | 5,393 | 8/17/2020 | |
1.12.1 | 7,352 | 7/10/2020 | |
1.12.0 | 10,223 | 6/23/2020 | |
1.11.2 | 3,327 | 6/21/2020 | |
1.11.1 | 5,335 | 6/10/2020 | |
1.11.0 | 2,960 | 6/10/2020 | |
1.10.0 | 74,684 | 2/1/2020 | |
1.9.0 | 46,414 | 11/14/2019 | |
1.8.0 | 5,431 | 10/31/2019 | |
1.7.2 | 22,314 | 8/16/2019 | |
1.7.1 | 15,222 | 8/2/2019 | |
1.7.0 | 7,952 | 7/28/2019 | |
1.6.1 | 7,336 | 7/16/2019 | |
1.6.0 | 4,276 | 7/15/2019 | |
1.5.0 | 21,117 | 5/5/2019 | |
1.4.0 | 6,408 | 4/7/2019 | |
1.3.0 | 4,082 | 2/28/2019 | |
1.2.0 | 9,364 | 2/6/2019 | |
1.1.1 | 42,769 | 1/10/2019 | |
1.1.0 | 51,516 | 9/12/2018 | |
1.0.5 | 21,912 | 7/1/2018 | |
1.0.4 | 9,770 | 6/17/2018 | |
1.0.3 | 62,302 | 8/11/2017 | |
1.0.2 | 3,315 | 8/7/2017 | |
1.0.1 | 25,590 | 6/3/2017 | |
1.0.0 | 7,200 | 5/25/2017 | |
0.4.0-beta | 2,606 | 4/10/2017 | |
0.3.0-beta | 2,968 | 3/29/2017 | |
0.2.0-beta | 1,774 | 3/7/2017 | |
0.1.0-beta | 1,853 | 2/21/2017 |
All release notes for Codecov can be found on the GitHub site - https://github.com/codecov/codecov-exe/releases/tag/1.6.1