diff --git a/CHANGELOG.md b/CHANGELOG.md index d88bd54..5e8e2f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 🎉 diff --git a/README.md b/README.md index 5c67e57..348edf5 100644 --- a/README.md +++ b/README.md @@ -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" -``` \ No newline at end of file +``` diff --git a/package.json b/package.json index 4be4d89..bdade53 100644 --- a/package.json +++ b/package.json @@ -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": {