3 ms·
> Higher level tooling doesn't prioritize this. AFAIK neither Gitlab nor Github have an actual option in their CI implementations for "test every commit before
by ninkendo 7y ago
> Higher level tooling doesn't prioritize this. AFAIK neither Gitlab nor Github have an actual option in their CI implementations for "test every commit before allowing merge". And both of those are everywhere.
Of course not, because that would be silly.
Nobody cares when code was committed, because that’s not when bugs are introduced into working software.
Bugs are introduced when a branch full of commits is merged into working software. How could it be any other way? Your CI should be testing “what would happen if I merged this”, not “did every commit in `dest...source` pass checks too”.
If you want your history to consist only of working commits that are green, then squash when merging. GitHub and GitLab (and bitbucket) all support the ability to enforce this as a policy on a repo.
- bJGVygG7MQVF8c 7y ago> GitHub and GitLab (and bitbucket) all support the ability to enforce this as a policy on a repo. Relatively recent feature additions, it should be noted > Of course not, because that would be silly. No, actually — see the preceding.