In everyday life
Like the security scanner at an airport gate: every passenger walks through it, in a hurry or not. A sign that says “no liquids, please” depends on each person reading it.
One case
A team of 5 agrees to run the tests on their laptops before each merge. In one week they merge 10 changes and skip the tests on 3: “a small fix”, “only docs”, “in a hurry”. The rushed one breaks the login, and three developers lose an afternoon finding which change did it.
Every case
Checks that depend on memory get skipped when people are busy, and that is when mistakes happen most. A CI server runs the same checks on every change. Set each run to start clean and apart from other runs, because a server can reuse machines and leftover files unless told not to. A clean run also catches “it works on my laptop”. Then set the main branch so a change cannot merge until every check is greenPassing. A check that passes is shown green; a check that fails is shown red.. The rule now holds for people and agents alike, with no reminder, unless someone with admin rights overrides it. The full name is continuous integrationA server that builds and tests every change as soon as it is pushed. Engineers write it CI..
The word
Engineers call this
Turn every check that matters into one that runs by itself on every change. Block the merge until it passes.