-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
4,453 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,31 @@ | ||
# LCOV reporter for GitHub actions | ||
# LCOV reporter for GitHub Actions | ||
|
||
[![GitHub Super-Linter](https://github.com/Richter-Consulting/wd-lcov-reporter-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter) | ||
![CI](https://github.com/Richter-Consulting/wd-lcov-reporter-action/actions/workflows/ci.yml/badge.svg) | ||
[![Check dist/](https://github.com/Richter-Consulting/wd-lcov-reporter-action/actions/workflows/check-dist.yml/badge.svg)](https://github.com/Richter-Consulting/wd-lcov-reporter-action/actions/workflows/check-dist.yml) | ||
[![CodeQL](https://github.com/Richter-Consulting/wd-lcov-reporter-action/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Richter-Consulting/wd-lcov-reporter-action/actions/workflows/codeql-analysis.yml) | ||
[![Coverage](./badges/coverage.svg)](./badges/coverage.svg) | ||
|
||
A simple action that parse the core data from LCOV file (line, function and | ||
block coverage). The out put variables provide basic data to use in PR comments | ||
or run output. | ||
|
||
## Example for configuration | ||
|
||
```yaml | ||
- name: LCOV parser | ||
id: lcov-result | ||
uses: Richter-Consulting/wd-lcov-reporter | ||
with: | ||
lcov-file: './coverage/lcov.info' | ||
excluded-files: '**/*.g.dart, **/*.freezed.dart, **/.realm.dart' | ||
``` | ||
### Configuration parameters | ||
## TODO | ||
- [ ] Parse lcov file, so it is easier to handle the results | ||
- [ ] Provide following outputs | ||
- [x] Parse lcov file, so it is easier to handle the results | ||
- [x] Provide following outputs | ||
- Markdown table with code coverage per test file | ||
- Overall coverage |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.