Skip to content
Uploads Python code coverage to scrutinizer-ci.com
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scrutinizer
tests
.gitignore
CHANGELOG.rst
LICENCE
MANIFEST.in
README.rst
setup.py

README.rst

Coverage Reporting for Python

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"
You can’t perform that action at this time.