CI
For every PR or merge, automatically run lint, build, and key tests, with results shown on the pull request.
For every PR or merge, automatically run lint, build, and key tests, with results shown on the pull request.
—○Unit tests —○Production build —↳CI sits immediately before merge: checks report back before the merge action can open.
Find combination problems with each change: A change that seems fine alone can fail with mainline code, dependencies, or configuration. CI repeats build and tests on a push or PR, keeping failures close to their originating commit.
Make results actionable: Checks should attach to a commit or PR and clearly show success, failure, and logs. The team can then block an unpassed merge or continue a passing version to testing.
Make every PR automatically run lint, build, and critical tests, with results attached to that PR. Do not allow merge when any check fails; after passing, provide the commit, check names, and results.