Last updated:
0 purchases
pytestcodecov 0.6.0
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
pytest-cov
requests
GitPython (Optional, for auto detecting some meta data)
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.