Skip to main content

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

Project description

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.

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.7.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

pytest_codecov-0.7.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file pytest_codecov-0.7.0.tar.gz.

File metadata

  • Download URL: pytest_codecov-0.7.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pytest_codecov-0.7.0.tar.gz
Algorithm Hash digest
SHA256 2fc60c9dbaa986f39517cd811f3094376dff82b048fae13a1eed51bace1da83a
MD5 0e8bee72adbcde40a84ccd9548dcfe61
BLAKE2b-256 30df8ea9f05b554ce0938d14716972eef2a6515fb5a6c06c5ccb0a5ca21cdf77

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_codecov-0.7.0.tar.gz:

Publisher: python-publish.yaml on seantis/pytest-codecov

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytest_codecov-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: pytest_codecov-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pytest_codecov-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 213be0b112a4c0065c1601e12d3959352ac239be2a9b8e93edf814d6e7ac37b6
MD5 d9f4c706d0a4b26b31d55d1baeb33bba
BLAKE2b-256 d07713c12db2307134994e6f985e32c202b44602b6eb9033c7ad485043c40824

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytest_codecov-0.7.0-py3-none-any.whl:

Publisher: python-publish.yaml on seantis/pytest-codecov

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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