{"repo":"Madrapps/jacoco-report","free":true,"listed":false,"github":"https://github.com/Madrapps/jacoco-report","clone":"git clone https://github.com/Madrapps/jacoco-report.git","description":"Github action that publishes the JaCoCo report as a comment in the Pull Request","language":"TypeScript","stars":202,"topics":["coverage","workflow","android","java","kotlin","javascript","jacoco","jacoco-coverage","report","analysis"],"license":"MIT","category":"mobile-apps","readme_excerpt":"jacoco-report A Github action that publishes the JaCoCo report as a comment in the Pull Request with customizable pass percentage for modified modules, files and the overall project. You can view the coverage of just the changed files in your pull request. Usage Pre-requisites Create a workflow .yml file in your repositories .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file. Note: When using comment-type: pr comment or comment-type: both (the default is pr comment ), the following permissions are required: - pull-requests: write (or issues: write ) - contents: read Inputs - paths - [ required ] Comma separated paths of the generated jacoco xml files (supports wildcard glob pattern) - token - [ optional {default: github.token }] Github token to add comments to Pull Request (ensure the job has pull-requests: write permission) - min-coverage-overall - [ optional {default: 80%}] The minimum code coverage that is required to pass for overall project - min-coverage-changed-lines - [ optional {default: 80%}] The minimum code coverage that is required to pass for changed lines - update-comment - [ optional {default: false}] If true, updates the previous coverage report comment instead of creating new one. Requires title to work properly - comment-type - [ optional {pr comment, summary, both} {default: pr comment}] Specifies where to add the comment, whether as a PR comment, w","default_branch":null,"files":null,"tree":[],"storefront":"/r/Madrapps","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Madrapps/jacoco-report/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}