Skip to main content

Pytest plugin for uploading pytest-cov results to

Project description

PyPI version Python versions Tests

Pytest plugin for uploading pytest-cov results to

This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.


  • Uploads coverage results to at the end of the tests.

  • Detects current project slug, branch and commit using GitPython, when installed and running inside a git repository.



You can install “pytest-codecov” via pip from PyPI:

$ pip install pytest-codecov


  • Add --codecov to pytest arguments to enable upload

  • Supply your Codecov token either through --codecov-token= or CODECOV_TOKEN environment variable. Refer to your CI’s documentation to properly secure that token.


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the MIT license, “pytest-codecov” is free and open source software


If you encounter any problems, please file an issue along with a detailed description.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-codecov-0.5.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

pytest_codecov-0.5.1-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page