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

Uploaded Source

Built Distribution

pytest_codecov-0.2.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pytest-codecov-0.2.0.tar.gz.

File metadata

  • Download URL: pytest-codecov-0.2.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pytest-codecov-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bf5d4e379b6ede1b18e6868c006f8a243bf814ef72771dda754e5731f97f06c9
MD5 200546d427bee5ed4928c070705229f1
BLAKE2b-256 d23f6d38211b0a7530f04c5da05ffb66d21cc3c40a4334ab27b4f4d4bf15a065

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_codecov-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pytest_codecov-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6c6bfe7453bc8fdc6db20fdb4a043ddee804b9faaa2e52da2198d678fd44b9f
MD5 7ac29a3d781175785c244a6cb696d3df
BLAKE2b-256 cc66a5ad29ec571670ffe1df8f5110a0725b9153817149ffa3b490bba3035703

See more details on using hashes here.

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