Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

Very Good Coverage

v1.1.0

Very Good Coverage

check-square

Very Good Coverage

Enforce LCOV Coverage Thresholds

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Very Good Coverage

uses: VeryGoodOpenSource/very_good_coverage@v1.1.0

Learn more about this action in VeryGoodOpenSource/very_good_coverage

Choose a version

Very Good Coverage

Very Good Ventures

Developed with 💙 by Very Good Ventures 🦄

ci License: MIT

A Github Action which helps enforce a minimum code coverage threshold.

Inputs

path

Optional The path to the lcov.info file.

Default ./coverage/lcov.info

min_coverage

Optional The minimum coverage percentage allowed.

Default 100

exclude

Optional List of paths to exclude from the coverage report, separated by an empty space . Supports globs to describe file patterns.

Example usage

uses: VGVentures/very-good-coverage@v1.1.0
with:
  path: "./coverage/lcov.info"
  min_coverage: 95
  exclude: "**/*_observer.dart **/change.dart"