Coverage service commands.
This directory contains make
rules for sending coverage reports to third-party services.
Usage: make <command> [<ENV_VAR>=<value> <ENV_VAR>=<value> ...]
Sends coverage statistics to a hosted code coverage service.
$ make coverage
The command supports the following environment variables:
- COVERAGE_SERVICE: code coverage service name (e.g.,
codecov
). - LCOV_INFO: path to
lcov.info
file which will be sent to the coverage service. - COVERAGE_NAME: coverage report name.
- CI_SERVICE: continuous integration (CI) service from which the coverage report originates.
Sends coverage statistics to Codecov.
$ make coverage-codecov
The command supports the following environment variables:
- LCOV_INFO: path to
lcov.info
file which will be sent to the coverage service. - COVERAGE_NAME: coverage report name.
- CI_SERVICE: continuous integration (CI) service from which the coverage report originates.
Sends coverage statistics to Coveralls.
$ make coverage-coveralls
The command supports the following environment variables:
- LCOV_INFO: path to
lcov.info
file which will be sent to the coverage service. - COVERALLS_REPO_TOKEN: the secret repository token from Coveralls.
- CI_SERVICE: continuous integration (CI) service from which the coverage report originates.