Skip to content

Commit

Permalink
Update screenshot and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
romeovs committed Feb 28, 2020
1 parent 41dabc3 commit fe7a160
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
# Jest reporter action

This action comments a pull request with the jest code coverage
This action comments a pull request with the jest code coverage.

![jest-reporter-action](https://imgur.com/ustWwwN.png)
![jest-reporter-action](shot.png)

## Inputs

### `github-token`

**Required** Github token.

### `test-command`
### `lcov-file`

**Optional** A custom command to run the tests. (defaults to `npx jest` if not specified)
**Optional** The location of the lcov file to parse. Defaults to
`./coverage/lcov.info`

## Example usage

```yml
uses: ziishaned/jest-reporter-action@v0.0.1
uses: romeovs/lcov-reporter-action@v0.2.6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
test-command: "yarn jest --coverage"
lcov-file: ./coverage/lcov.info
```
Binary file added shot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fe7a160

Please sign in to comment.