- Notifications
You must be signed in to change notification settings - Fork137
Python report uploader for Codecov
License
codecov/codecov-python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
🚨🚨 Deprecation Notice 🚨🚨
This uploader is being deprecated by the Codecov team. We recommend migrating to ournew uploader as soon as possible to prevent any lapses in coverage.The new uploader is open source, and we highly encourage submitting Issues and Pull Requests.
You can visit ourmigration guide for help moving to our new uploader, and our blog post to learn more about ourdeprecation plan
On February 1, 2022 this uploader will be completely deprecated and will no longer be able to upload coverage to Codecov.
Support | Documentation | Community Boards |
---|
Find coverage reports for all thelanguages below, gather them and submit them to Codecov.
- Reports areautomatically combined with no extra setup. Each build is stored separately and combined.
- Multiple languages are supported in a single upload and repository.
- Optionally stores environment variables per build.
pip install --user codecov&& codecov -t<the-repository-upload-token>
or
conda install -c conda-forge codecov&& codecov -t<the-repository-upload-token>
--user
argument not needed for Python projects.See example here.
Python,C#/.net,Java,Node/Javascript/Coffee,C/C++,D,Go,Groovy,Kotlin,PHP,R,Scala,Xtern,Xcode,Lua and more...
Codecov can be set up in yourtox.ini
.
Just please make sure to pass all the necessary environment variables through:
[testenv]passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_*deps = codecov>=1.4.0commands = codecov -e TOXENV
See all the environment variables for other CI providershere
Below are the most commonly used settings.
Argument | Environment | Description |
---|---|---|
-t | CODECOV_TOKEN | Private repo token for uploading |
-e | CODECOV_ENV | List of config vars to store for the build |
-F | Flag this upload to group coverage reports. Ex.unittests orintegration |
# public repository on Travis CIinstall: -pip install --user codecov# or -conda install -c conda-forge codecovafter_success: -codecov
# private repository on Travis CIinstall: -pip install codecov# or -conda install -c conda-forge codecovafter_success: -codecov -t the-repository-upload-token
Company | Supported | Token Required |
---|---|---|
AppVeyor | Yes | Private only |
Bamboo | coming soon | |
Buildbot | coming soon buildbot/buildbot#1671 | |
CircleCI | Yes | Private only |
Codeship | Yes | Public & Private |
Drone.io | Yes | Public & Private |
GitHub Actions | Yes | Public & Private |
Gitlab CI | Yes | Public & Private |
Jenkins | Yes | Public & Private |
Magnum CI | Yes | Public & Private |
Semaphore | Yes | Public & Private |
Shippable | Yes | Public & Private |
Solano Labs | coming soon | |
Travis CI | Yes | Private only |
Wercker | Yes | Public & Private |
Cirrus CI | Yes | Private only |
Git / Mercurial | Yes (as a fallback) | Public & Private |
If you're seeing anHTTP 400 error when uploading reports to S3, make sure you've updated to at least version 2.1.3.
Copyright 2014-2022 codecov
About
Python report uploader for Codecov
Topics
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.