Skip to content

Uncovered files and lines are not appearing in the comments. #290

@halitdogmen

Description

@halitdogmen

First of all, I'm not sure if the configurations are correct. I was running a simple test to integrate it into the pipelines, but I didn't get the expected result. I wanted to share this with you.

Job configuration is as follows.

- name: Generate Code Coverage Report
  id: code-coverage
  uses: barecheck/code-coverage-action@v1
  with:
    barecheck-github-app-token: ${{ secrets.BARECHECK_GITHUB_APP_TOKEN }}
    lcov-file: "source_coverage.lcov.info"
    base-lcov-file: "target_coverage.lcov.info"
    send-summary-comment: true
    show-annotations: "warning"

The output in the comments is as follows.
image
Expected Output:
image

Could you please help resolve this so that uncovered files and lines appear as expected in the comments?

Lcov Files:
lcov-files.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions