diff --git a/readme.md b/readme.md index 15f95d5b..5f868663 100644 --- a/readme.md +++ b/readme.md @@ -1,8 +1,8 @@ # 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 @@ -10,15 +10,16 @@ This action comments a pull request with the jest code coverage **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 ``` diff --git a/shot.png b/shot.png new file mode 100644 index 00000000..65a2f2bb Binary files /dev/null and b/shot.png differ