Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Coverage

Coverage service commands.

This directory contains make rules for sending coverage reports to third-party services.

Usage

Usage: make <command> [<ENV_VAR>=<value> <ENV_VAR>=<value> ...]

Commands

coverage

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.

coverage-codecov

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.

coverage-coveralls

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.