|
| 1 | + - name: Jest Coverage Comment |
| 2 | + # You may pin to the exact commit or the version. |
| 3 | + # uses: MishaKav/jest-coverage-comment@f2e8b560403c4fd8234a2b268af3c28ca91e5cc7 |
| 4 | + |
| 5 | + with: |
| 6 | + # GitHub API Access Token |
| 7 | + github-token: ${{ github.token }} |
| 8 | + # Main title for the comment |
| 9 | + title: test coverage report |
| 10 | + # The location of the coverage-summary of Jest |
| 11 | + coverage-summary-path: ./coverage/coverage-summary.json |
| 12 | + # Title for the coverage summary |
| 13 | + summary-title: Summary |
| 14 | + # Title for the badge icon |
| 15 | + badge-title: Coverage |
| 16 | + # Hide coverage summary report |
| 17 | + hide-summary: false |
| 18 | + # Hide the whole comment (use when you need only `output`) |
| 19 | + hide-comment: false |
| 20 | + # Remove links to files (useful when summary-report is too big) |
| 21 | + remove-links-to-files: false |
| 22 | + # Remove links to lines (useful when summary-report is too big) |
| 23 | + remove-links-to-lines: false |
| 24 | + # When false, will update the same comment, otherwise will publish new comment on each run |
| 25 | + create-new-comment: false |
| 26 | + # The location of the junitxml path (npm package `jest-junit` should be installed) |
| 27 | + # junitxml-path: # optional, default is |
| 28 | + # Title for summary for junitxml |
| 29 | + # junitxml-title: # optional, default is |
| 30 | + # The location of the coverage.txt (Jest console output) |
| 31 | + #coverage-path: # optional, default is |
| 32 | + # Title for the coverage report |
| 33 | + coverage-title: Coverage Report |
| 34 | + # Prefix for path when link to files in comment |
| 35 | + # coverage-path-prefix: # optional, default is |
| 36 | + # Show in report only changed files for this commit, and not all files |
| 37 | + report-only-changed-files: false |
| 38 | + # You can pass array of `json-summary.json` files and generate single comment with table of results Single line should look like `Title1, ./path/to/json-summary.json` |
| 39 | + |
| 40 | + # multiple-files: # optional, default is |
| 41 | + # You can pass array of `junit.xml` files and generate single comment with table of results Single line should look like `Title1, ./path/to/junit.xml` |
| 42 | + |
| 43 | + # multiple-junitxml-files: # optional, default is |
| 44 | + # When running in a matrix, pass the matrix value, so each comment will be updated its own comment |
| 45 | + # unique-id-for-comment: # optional, default is |
| 46 | + |
0 commit comments