Codacy coverage reporter for Python
Project description
Credits to Ryan for creating this! Python coverage reporter for Codacy https://www.codacy.com
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codacy-coverage-1.2.2.tar.gz.
File metadata
- Download URL: codacy-coverage-1.2.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6953feb98a5df22c91f586e4655ba726c0220609a6d8924f1085e426ef8769e
|
|
| MD5 |
8916346982245c540859932cba4eaa1c
|
|
| BLAKE2b-256 |
bdcafa269ff46f0450fe2156dac28d092e3a0f8f38410081797c2f8732fd07ad
|
File details
Details for the file codacy_coverage-1.2.2-py2.py3-none-any.whl.
File metadata
- Download URL: codacy_coverage-1.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ed2acae3c273c561e6eb50f002d5c637e149195b89dee346d08704f2e3de00a
|
|
| MD5 |
a17c90f3e74cb2fbd967d81dd04ce67f
|
|
| BLAKE2b-256 |
04237a532f21a6a5c8567f2980e2781f58ad8f62f6826e590e44a9e0f9477cdf
|