update readme
This commit is contained in:
parent
70c09941cf
commit
95f6a41024
28
README.md
28
README.md
@ -4,26 +4,26 @@ A GitHub Action that check minimum coverage percentage!
|
|||||||
|
|
||||||
### Usage
|
### 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
|
#### Lcov
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
- uses: devmasx/coverage-check-action@v1.0.1
|
- uses: devmasx/coverage-check-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
result_path: coverage/example.lcov
|
|
||||||
token: ${{secrets.GITHUB_TOKEN}}
|
|
||||||
type: lcov
|
type: lcov
|
||||||
|
result_path: coverage/example.lcov
|
||||||
min_coverage: 90
|
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
|
## Screenshots
|
||||||
|
|||||||
Reference in New Issue
Block a user