/very_good_coverage

GitHub Action which helps enforce code coverage threshold using lcov created by Very Good Ventures 🦄

Primary LanguageJavaScriptMIT LicenseMIT

Very Good Coverage

Very Good Ventures 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: VeryGoodOpenSource/very_good_coverage@v1
with:
  path: './coverage/lcov.info'
  min_coverage: 95
  exclude: '**/*_observer.dart **/change.dart'