ArtiomTr/jest-coverage-report-action

Reject pull request if coverage goes down

bencoder opened this issue · 1 comments

Idea

Ability to reject the PR if the coverage has gone down compared to the base branch

Description

An option to be added that would cause the PR check or the workflow to fail if the PR has resulted in the code coverage being reduced compared to the base branch

Alternatives

I haven't tried yet but my current plan to implement this functionality is to use the output: report-markdown feature and then parse the report in the next step of the workflow

closing as duplicate of #375