View all files | ||||
🚨🚨 Deprecation Notice 🚨🚨
This uploader is being deprecated by the Codecov team. We recommend migrating to our new 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 our migration guide for help moving to our new uploader, and our blog post to learn more about our deprecation plan
On February 1, 2022 this uploader will be completely deprecated and will no longer be able to upload coverage to Codecov.
Find coverage reports for all the languages below, gather them and submit them to Codecov.
or
--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 your tox.ini.
Just please make sure to pass all the necessary environment variables through:
See all the environment variables for other CI providers here
Below are the most commonly used settings.
| -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 |
| 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 an HTTP 400 error when uploading reports to S3, make sure you've updated to at least version 2.1.3.
Copyright 2014-2022 codecov