Skip to main content

Reports Python code coverage data to scrutinizer-ci.com

Project description

Uploads code coverage data to scrutinizer-ci.com.

Installation

To install the code coverage reporter, simply run:

pip install scrutinizer-ocular

Integration with your CI server

After your code coverage was generated, simply run the following command:

ocular --access-token "your-access-token"

For closed-source projects, make sure to generate an access token. For open-source projects, this is not necessary and should be avoided.

Customizing Locations of Coverage Data/Config

If your coverage data or configuration is not placed in the current working directory, you need to pass these paths as options to the ocular command:

ocular --access-token "your-access-token" --data-file "../.coverage" --config-file "../.coveragerc"

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

scrutinizer-ocular-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file scrutinizer-ocular-1.0.0.tar.gz.

File metadata

File hashes

Hashes for scrutinizer-ocular-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bb67afd36be840fab8cebff4145a277efcd5f64ba09dd378e152f02963717764
MD5 c6d674e02e7946ac4d1c7cd626a83eb5
BLAKE2b-256 d826d2084b5fab8e215b881bff2cf4a05f4916ded1b5f96f9b4b3be7f7530ba2

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