Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Latest commit

 

History

History
55 lines (36 loc) · 1.85 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.85 KB

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.

changed_files

Optional List of paths of new/changed files, separated by an empty space. By using this the coverage will run only these files.

Example usage

uses: johnsouza-loftbr/very_good_coverage@v1.3.0
with:
  path: './coverage/lcov.info'
  min_coverage: 95
  exclude: '**/*_observer.dart **/change.dart'