Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 21, 2025. It is now read-only.

codecov/codecov-python

 
 

Repository files navigation

Codecov Global Python Uploader codecov.io

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

Find coverage reports for all the languages below, 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

pip install --user codecov && codecov -t the-repository-upload-token

--user argument not needed for Python projects. See example here.

Languages

Python, C#/.net, Java, Node/Javascript/Coffee, C/C++, D, Go, Groovy, Kotlin, PHP, R, Scala, Xtern, Xcode, 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_*
deps = codecov>=1.4.0
commands = codecov -e TOXENV

See all the environment variables for other CI providers here

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
# public repository on Travis CI
install:
  - pip install --user codecov
after_success:
  - codecov
# private repository on Travis CI
install:
  - pip install --user codecov
after_success:
  - codecov -t the-repository-upload-token

CI Providers

Company Supported Token Required
Travis CI Yes Build Status Private only
CircleCI Yes Private only
Codeship Yes Public & Private
Jenkins Yes Public & Private
Semaphore Yes Public & Private
Drone.io Yes Public & Private
AppVeyor Yes Build status Public & Private
Wercker Yes Public & Private
Magnum CI Yes Public & Private
Shippable Yes Public & Private
Gitlab CI Yes Public & Private
Snap CI Yes Public & Private
git / mercurial Yes (as a fallback) Public & Private
Buildbot coming soon buildbot/buildbot#1671
Bamboo coming soon
Solano Labs coming soon

Using Travis CI? Uploader is compatible with sudo: false which can speed up your builds. 👍

Copyright

Copyright 2014-2015 codecov

About

Python report uploader for Codecov

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 57

Morty Proxy This is a proxified and sanitized view of the page, visit original site.