Skip to content
check-square

GitHub Action

Coverage Report for lcov format

v1 Latest version

Coverage Report for lcov format

check-square

Coverage Report for lcov format

Comments a pull request with code coverage

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Coverage Report for lcov format

uses: nohmad/lcov-report-action@v1

Learn more about this action in nohmad/lcov-report-action

Choose a version

lcov-report-action

build

Add summary of coverage report as comment on Pull Request.

Usage

No need to run if not triggered by pull_request

    - name: Coverage Report on Pull Request
      uses: nohmad/lcov-report-action@v1
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        lcov-info: coverage/lcov.info
      if: github.event_name == 'pull_request'