test-reporter icon indicating copy to clipboard operation
test-reporter copied to clipboard

diff-coverage does not work if latest commit does not have coverage data

Open zafarabbas opened this issue 7 years ago • 2 comments

(posting issue here as requested by codeclimate support)

We have an issue that we need help with resolving.

  • Our repository (juulio) has a master branch, developers work in sub branches and merge their changes as PRs.
  • We would like codeclimate/diff-coverage to be a Required status check for all PRs before they merge.
  • Currently since the diff-coverage status check depends on the coverage data available from the state of the master branch at the time a branch was created. If that master commit has broken or unavailable coverage data, it the status check would fail forever in the branch until a new merge happens from the master branch for a commit that does have coverage data.
  • We would like an option in code climate to continue to use the last successful coverage data from master (if possible)
  • Is this a configuration or code change from code climate? If it can be supported it would save us a lot of work we are doing right now rebasing and opening new PRs.
  • This is pretty blocking.

Thanks for all your support.

zafarabbas avatar Apr 30 '18 15:04 zafarabbas

@zafarabbas 👋thank you for your feedback! Currently, we don't support this but we have on our roadmap plans to improve this experience. I'll post back when I have more news.

ale7714 avatar May 02 '18 13:05 ale7714

If we do encounter this, how do we generate coverage data for the last commit?

krezchikov42 avatar Apr 13 '22 20:04 krezchikov42