Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail on uncovered lines #83

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

joeyjiron06
Copy link

Description

This PR adds an optional parameter called failOnUncoveredLines which if set to true, the reporter will comment on lines which were added in the pull request but have no code coverage. If false, then uncovered lines will not fail the build. See screenshots below.

I also added a couple of test cases for some of the new code i wrote.

single line comment

Screen Shot 2020-03-15 at 11 30 49 AM

multi-line comment

Rather than putting a comment on every line, I group sequential lines together in a single comment

Screen Shot 2020-03-15 at 11 30 53 AM

ajiron and others added 2 commits March 14, 2020 23:19
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* removed dist

Co-authored-by: ajiron <[email protected]>
@hipstersmoothie
Copy link
Owner

Woah this is a pretty cool contribution! Thanks for all you work. Taking a look now. Just merged a bunch of dep updates so you'll have to merge master.

@hipstersmoothie
Copy link
Owner

@joeyjiron06 And updates to this?

@joeyjiron06
Copy link
Author

@hipstersmoothie I updated the PR. let me know if you have any questsion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants