KO
|
EN
gitlite — search
Search
#golang
#hacktoberfest
#php
#redux
#android
#blockchain
#ruby
#java
#python3
#react
#deep-learning
#django
codecov-python
★ 184
Open GitHub ↗
Python report uploader for Codecov
Download README (.md)
Explore Similar Repositories
MPMessagePack
:
MessagePack implementation for Objective-C / msgpack.org[Objective-C]
jquery-ui-daterangepicker
:
A JQuery UI based date range picker.
OpalImagePicker
:
A multiple image picker for iOS, written in Swift
SemVer
:
Semantic versioning helper library for PHP.
error-message-catalog
:
A catalog of broken Elm programs / data to improve error messages
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
codecov-python
?
Download (.md)
🚨🚨 Deprecation Notice 🚨🚨 This uploader is being deprecated by the Codecov team. We recommend migrating to our [new uploader](https://docs.codecov.com/docs/codecov-uploader) as soon as possible to prevent any lapses in coverage. [The new uploader is open source](https://github.com/codecov/uploader), and we highly encourage submitting Issues and Pull Requests. You can visit our [migration guide](https://docs.codecov.com/docs/deprecated-uploader-migration-guide#python-uploader) for help moving to our new uploader, and our blog post to learn more about our [deprecation plan](https://about.codecov.io/blog/codecov-uploader-deprecation-plan/) **On February 1, 2022 this uploader will be completely deprecated and will no longer be able to upload coverage to Codecov.** # Codecov Global Python Uploader [](https://codecov.io/github/codecov/codecov-python)  [](https://github.com/psf/black) [](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-python?ref=badge_shield) ======= | [Support][1] | [Documentation][2] | [Community Boards][3] | [Twitter][4] | | ------------ | ------------------ | --------------------- | ------------ | Find coverage reports for all the [languages below](#languages), gather them and submit them to Codecov. ## Codecov Features - Reports are **automatically** 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. ## Usage ```sh pip install --user codecov && codecov -t <the-repository-upload-token> ``` or ```sh conda install -c conda-forge codecov && codecov -t <the-repository-upload-token> ``` > `--user` argument not needed for Python projects. [See example here](https://github.com/codecov/example-python). ## Languages > [Python](https://github.com/codecov/example-python), [C#/.net](https://github.com/codecov/example-csharp), [Java](https://github.com/codecov/example-java), [Node/Javascript/Coffee](https://github.com/codecov/example-node), > [C/C++](https://github.com/codecov/example-c), [D](https://github.com/codecov/example-d), [Go](https://github.com/codecov/example-go), [Groovy](https://github.com/codecov/example-groovy), [Kotlin](https://github.com/codecov/example-kotlin), > [PHP](https://github.com/codecov/example-php), [R](https://github.com/codecov/example-r), [Scala](https://github.com/codecov/example-scala), [Xtern](https://github.com/codecov/example-xtend), [Xcode](https://github.com/codecov/example-xcode), [Lua](https://github.com/codecov/example-lua) and more... ## Using `tox`? Codecov can be set up in your `tox.ini`. Just please make sure to pass all the necessary environment variables through: ``` [testenv] passenv = TOXENV CI TRAVIS TRAVIS_* CODECOV_* deps = codecov>=1.4.0 commands = codecov -e TOXENV ``` > See all the environment variables for other CI providers [here](https://github.com/codecov/codecov-python/blob/master/codecov/__init__.py#L254-L468) ## Configuration > 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` or `integration` | ```yaml # public repository on Travis CI install: - pip install --user codecov # or - conda install -c conda-forge codecov after_success: - codecov ``` ```yaml # private repository on Travis CI install: - pip install codecov # or - conda install -c conda-forge codecov after_success: - codecov -t the-repository-upload-token ``` ## CI Providers | Company | Supported | Token Required | | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | | [AppVeyor](https://www.appveyor.com/) | Yes [](https://ci.appveyor.com/project/stevepeak/codecov-python/branch/master) | Private only | | [Bamboo](https://www.atlassian.com/software/bamboo) | `coming soon` | | | [Buildbot](https://buildbot.net/) | `coming soon` [buildbot/buildbot#1671](https://github.com/buildbot/buildbot/pull/1671) | | | [CircleCI](https://circleci.com/) | Yes | Private only | | [Codeship](https://codeship.com/) | Yes | Public & Private | | [Drone.io](https://drone.io/) | Yes | Public & Private | | [GitHub Actions](https://github.com/features/actions) | Yes [](https://github.com/codecov/codecov-python/actions?query=workflow%3A%22Python+package%22) | Public & Private | | [Gitlab CI](https://about.gitlab.com/gitlab-ci/) | Yes | Public & Private | | [Jenkins](https://jenkins-ci.org/) | Yes | Public & Private | | [Magnum CI](https://magnum-ci.com/) | Yes | Public & Private | | [Semaphore](https://semaphoreci.com/) | Yes | Public & Private | | [Shippable](https://www.shippable.com/) | Yes | Public & Private | | [Solano Labs](https://www.solanolabs.com/) | `coming soon` | | | [Travis CI](https://travis-ci.org/) | Yes [](https://travis-ci.org/codecov/codecov-python) | Private only | | [Wercker](http://wercker.com/) | Yes | Public & Private | | [Cirrus CI](https://cirrus-ci.org/) | Yes | Private only | | Git / Mercurial | Yes (as a fallback) | Public & Private | ## Troubleshooting If you're seeing an **HTTP 400 error when uploading reports to S3**, make sure you've updated to at least version 2.1.3. [1]: https://codecov.io/support/ [2]: https://docs.codecov.io/ [3]: https://community.codecov.io/ [4]: https://twitter.com/codecov ## Copyright > Copyright 2014-2022 codecov ## License [](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fcodecov-python?ref=badge_large)