fgrosse / go-coverage-report

A CLI tool and GitHub Action to post Go code coverage reports as comment to your pull requests.
BSD 3-Clause "New" or "Revised" License
53 stars 8 forks source link

Skipping coverage report if no file changed #11

Closed fgrosse closed 6 months ago

fgrosse commented 6 months ago

Fixes #6

github-actions[bot] commented 6 months ago

Merging this branch will decrease overall coverage

Impacted Packages Coverage Δ :robot:
github.com/fgrosse/go-coverage-report 59.52% (-0.54%) :thumbsdown:

Coverage by file | Changed File | Coverage Δ | Total | Covered | Missed | :robot: | |--------------|------------|-------|---------|--------|---------| | github.com/fgrosse/go-coverage-report/main.go | 0.00% (ø) | 39 (+3) | 0 | 39 (+3) | | _Please note that the "Total", "Covered", and "Missed" counts above refer to ***code statements*** instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code._