{"repo":"zgosalvez/github-actions-report-lcov","free":true,"listed":false,"github":"https://github.com/zgosalvez/github-actions-report-lcov","clone":"git clone https://github.com/zgosalvez/github-actions-report-lcov.git","description":"A Github Action to report the code coverage from LCOV files","language":"JavaScript","stars":89,"topics":["github","actions","github-actions","lcov"],"license":"MIT","category":"workflow-automation","readme_excerpt":"GitHub Action — Report LCOV This GitHub Action (written in JavaScript) allows you to leverage GitHub Actions to report the code coverage from LCOV files. This action includes: - Generating an HTML report as an artifact - Commenting on a pull request (if the workflow was triggered by this event) - Failing if a minimum coverage is not met Usage Pre-requisites Create a workflow .yml file in your .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file. Inputs For more information on these inputs, see the Workflow syntax for GitHub Actions - coverage-files : The coverage files to scan. For example, coverage/lcov. .info - artifact-name : The GitHub artifact name of the generated HTML report. For example, code-coverage-report . Note: When downloading, it will be extracted in an html directory. Optional. Default: (Skips uploading of artifacts) - minimum-coverage : The minimum coverage to pass the check. Optional. Default: 0 (always passes) - github-token : Set the ${{ secrets.GITHUB TOKEN }} token to have the action comment the coverage summary in the pull request. This token is provided by Actions (after setting permissions - see sample workflow below), you do not need to create your own token. Optional. Default: - working-directory : The working directory containing the source files referenced in the LCOV files. Optional. Default: ./ - title-prefix : A prefix before the title \"LC","default_branch":null,"files":null,"tree":[],"storefront":"/r/zgosalvez","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zgosalvez/github-actions-report-lcov/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."}