Reproducing CI Locally

Run the CI gate on your machine so it agrees with the runner — deriving the exact command, paths, markers, and env from the workflow file instead of the Makefile, unblocking gate steps that short-circuit and hide the next failure, pinning the linter version CI resolves, building the interpreter/toolchain environment the runner builds, and confirming the run is green instead of explaining a red job away. Use when a check passes locally but fails in CI (or the reverse), when a lint/format job goes red on an untouched file, when setting up a local dev loop for an unfamiliar repo, or before pushing a branch you expect to merge.

wdm0006 Updated

File contents

wdm0006/python-skills/tree/main/skills/common/reproducing-ci-locally commit edc37e7e19

Frequently asked questions

npx skillmds@latest add wdm0006/reproducing-ci-locally