check-coverage

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

README

check-coverage

check-coverage uses code coverage as a metric and requires that if code coverage is below X, builds may not decrease code coverage.

Usage

Ensure that builds do not lower code coverage until a minimum coverage level of 80% is met. In this example, we're submitting build results of 40% coverage for a branch name, develop.

If 40% is lower then the previous coverage level, this build breaks.

check-coverage \
  --coverage 40 \
  --minimum 80 \
  --repository bitbucket.org/example/project \
  --branch develop \
  --hash b4570ff4af18a2e0978e6dff69dfd56c9eb44070 \
  --table coverage

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL