Problem: In projects where PRs are rebased to master, the rule is usually that every commit must build (so git bisect works well in future). However, in a PR with multiple commits, people rarely if ever test each commit (only the last one).
Solution: Walk through each commit and build each one in each instance. When one fails, stop there and raise an error.
Problem: In projects where PRs are rebased to master, the rule is usually that every commit must build (so git bisect works well in future). However, in a PR with multiple commits, people rarely if ever test each commit (only the last one).
Solution: Walk through each commit and build each one in each instance. When one fails, stop there and raise an error.