Skip to main content

pytest-codecov

PyPI version Python versions Tests Codecov.io prek

Pytest plugin for uploading pytest-cov results to codecov.io


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

Features

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

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

Requirements

Installation

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

$ pip install pytest-codecov

Usage

  • 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.

Contributing

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.

License

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

Issues

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

Metadata

Release files for pytest-codecov 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-codecov 0.8.0
File Size Uploaded Provenance Actions
pytest_codecov-0.8.0.tar.gz 13.4 kB With provenance Details for pytest_codecov-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-codecov 0.8.0
File Interpreter ABI Platform Actions
pytest_codecov-0.8.0-py3-none-any.whl Python 3 none any Details for pytest_codecov-0.8.0-py3-none-any.whl

Total release size: 22.5 kB

Release files / pytest_codecov-0.8.0.tar.gz

Download URL pytest_codecov-0.8.0.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4e689b84809ce800f0e5b6ea9bbb18978f809049f93c2272c028d54e7253282b
BLAKE2b-256 checksum
How to use checksums
d2c8920b9cbaf9fa9607f6451ab66f7fb7eaae3e7d474f83eef58ba4e5521bdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / pytest_codecov-0.8.0-py3-none-any.whl

Download URL pytest_codecov-0.8.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b6e102cd93f97f783a56ce26c4b76204136b07404c1fce08e9300d6d5edb4c8
BLAKE2b-256 checksum
How to use checksums
838f2a77b4e82f563d1b699a7a590297683fe778ac09340fc0ad839118604ab0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for pytest-codecov 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pytest_codecov-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page