Skip to main content

Codacy coverage reporter for Python

Project description

Credits to Ryan for creating this! Python coverage reporter for Codacy https://www.codacy.com

Codacy Badge Codacy Badge Build Status PyPI version

Setup

Codacy assumes that coverage is previously configured for your project.

To generate the required coverage XML file, calculate coverage for your project as normal, by running:

coverage xml

Install codacy-coverage

You can install the coverage reporter by running:

pip install codacy-coverage

Updating Codacy

To update Codacy, you will need your project API token. You can find the token in Project -> Settings -> Integrations -> Project API.

Then set it in your terminal, replacing %Project_Token% with your own token:

export CODACY_PROJECT_TOKEN=%Project_Token%

Next, simply run the Codacy reporter. It will find the current commit and send all details to your project dashboard:

python-codacy-coverage -r coverage.xml

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

codacy-coverage-1.2.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codacy_coverage-1.2.4-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file codacy-coverage-1.2.4.tar.gz.

File metadata

File hashes

Hashes for codacy-coverage-1.2.4.tar.gz
Algorithm Hash digest
SHA256 f6a162a65a4fd3fc9a65b6c7942b78501dae718a04fcef9898b57dffaa152e5c
MD5 c4582eee8d0300db7e5010fa9add4924
BLAKE2b-256 7c3f81c2228d50c66c6ad54aec93e9cb579da6f263af85ea677a3741199ba5da

See more details on using hashes here.

File details

Details for the file codacy_coverage-1.2.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for codacy_coverage-1.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6f68ee10009d39ad325d0b6b48341c2058cf6bf11c5cb5ac85382b60468d2647
MD5 25e47e3217aa6ca919291142500bea2d
BLAKE2b-256 6c75fdbcec7c6e30d1c39f0f2de4186d9ad7969bb14b9bbae33e4ae0d3f3f32c

See more details on using hashes here.

Supported by

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