Skip to main content

Codacy coverage reporter for Python

Project description

# python-coverage-coverage

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

[![Build Status](https://circleci.com/gh/codacy/python-codacy-coverage.png?style=shield&circle-token=:circle-token)](https://circleci.com/gh/codacy/python-codacy-coverage) [![Codacy Badge](https://www.codacy.com/project/badge/3a8cf06a9db94d0ab3d55e0357bc8f9d)](https://www.codacy.com/app/Codacy/python-codacy-coverage)

## Setup

Codacy assumes that coverage is previously configured for your project.

You can install the coverage reporter by running:

### Install python-codacy-coverage ` 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 -f 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.0.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

codacy_coverage-1.0.0-py2.py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 2 Python 3

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