Skip to content

Commit

Permalink
chore: bump to v1.1.0 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel authored Oct 26, 2020
1 parent dd0e1c7 commit 568444c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# 1.1.0

- feat: added support to exclude files

```yaml
uses: VGVentures/very-good-coverage@v1.1.0
with:
path: "./coverage/lcov.info"
min_coverage: 95
exclude: "**/*_observer.dart **/change.dart"
```
# 1.0.0
- initial release 🎉
Expand Down
19 changes: 5 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,16 @@ A Github Action which helps enforce a minimum code coverage threshold.

**Default** 100

## Example usage

```yaml
uses: VGVentures/very-good-coverage@v1.0.0
with:
path: "./coverage/lcov.info"
min_coverage: 95
```
### `exclude`

**Optional** List of files that you want to exclude from the coverage report, and separated by an empty space ` `. You can also use `globs` to describe file patterns.
**Optional** List of paths to exclude from the coverage report, separated by an empty space ` `. Supports `globs` to describe file patterns.

## Example usage

```yaml
uses: VGVentures/very-good-coverage@v1.0.0
uses: VGVentures/very-good-coverage@v1.1.0
with:
path: "./coverage/lcov.95.info"
min_coverage: 100
path: "./coverage/lcov.info"
min_coverage: 95
exclude: "**/*_observer.dart **/change.dart"
```
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "very-good-coverage",
"version": "1.0.0",
"version": "1.1.0",
"description": "A Github Action which helps enforce code coverage threshold using lcov",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 568444c

Please sign in to comment.