update readme

This commit is contained in:
Miguel Savignano 2019-11-03 02:01:32 +01:00
parent 70c09941cf
commit 95f6a41024

View File

@ -4,26 +4,26 @@ A GitHub Action that check minimum coverage percentage!
### Usage
#### [Simplecov](https://github.com/colszowka/simplecov)
```yml
- uses: devmasx/coverage-check-action@v1.0.1
with:
result_path: coverage/.last_run.json
token: ${{secrets.GITHUB_TOKEN}}
type: simplecov
min_coverage: 90
```
#### Lcov
```yml
- uses: devmasx/coverage-check-action@v1.0.1
- uses: devmasx/coverage-check-action@v1.1.0
with:
result_path: coverage/example.lcov
token: ${{secrets.GITHUB_TOKEN}}
type: lcov
result_path: coverage/example.lcov
min_coverage: 90
token: ${{secrets.GITHUB_TOKEN}}
```
#### [Simplecov](https://github.com/colszowka/simplecov)
```yml
- uses: devmasx/coverage-check-action@v1.1.0
with:
type: simplecov
result_path: coverage/.last_run.json
min_coverage: 90
token: ${{secrets.GITHUB_TOKEN}}
```
## Screenshots