Skip to main content
PyPI version Python versions Tests Codecov.io

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.7.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.7.0
File Size Uploaded
pytest_codecov-0.7.0.tar.gz 11.6 kB Details

Built distribution (wheel)

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

Total release size: 20.2 kB

Release files / pytest_codecov-0.7.0.tar.gz

Download URL pytest_codecov-0.7.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2fc60c9dbaa986f39517cd811f3094376dff82b048fae13a1eed51bace1da83a
BLAKE2b-256 checksum
How to use checksums
30df8ea9f05b554ce0938d14716972eef2a6515fb5a6c06c5ccb0a5ca21cdf77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Mar 25, 2025.

Transparency log

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

Download URL pytest_codecov-0.7.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
213be0b112a4c0065c1601e12d3959352ac239be2a9b8e93edf814d6e7ac37b6
BLAKE2b-256 checksum
How to use checksums
d07713c12db2307134994e6f985e32c202b44602b6eb9033c7ad485043c40824
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Mar 25, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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