By setting the coverage threshold in the SimpleCov settings in spec_helper, the coverage threshold will also be checked after the test run. This allows coverage checking to work even if you create a PR from a forked repository.
Also, I don't think it's necessary to specify the PR execution branch, so I've removed the branch specification.
By setting the coverage threshold in the SimpleCov settings in spec_helper, the coverage threshold will also be checked after the test run. This allows coverage checking to work even if you create a PR from a forked repository.
Also, I don't think it's necessary to specify the PR execution branch, so I've removed the branch specification.