Reports Python code coverage data to scrutinizer-ci.com
Uploads code coverage data to scrutinizer-ci.com.
To install the code coverage reporter, simply run:
pip install scrutinizer-ocular
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.
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"