pytest-codecov
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
GitPython (Optional, for auto detecting some meta data)
Installation
You can install “pytest-codecov” via pip from PyPI:
$ pip install pytest-codecov
Usage
Add
--codecovto pytest arguments to enable uploadSupply 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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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 logRelease 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 logSecurity 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.
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 logA 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.