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.3.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for scrutinizer-ocular-1.0.3.tar.gz
Algorithm Hash digest
SHA256 251f89ebfee08565ecd77c60a3fbabf353ef7cd8095ca2579a7c27cadac3ab76
MD5 32613fd97b6e3683a222907eb8b7f912
BLAKE2b-256 990b12ff6cb2c09192a0cc2db9edf7d70b732b7711de91a1b02bd163c9329f34

See more details on using hashes here.

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