Test matrices & artifact registries
P36.pipelines-as-code.02 · Audience: guest, it-ml, language-pro · Prerequisites: Pipelines as code & quality gates
One pipeline usually isn't one job — it's many. A library that claims to support Python 3.11–3.13 on Linux and macOS has to prove it on every combination, and a fast pipeline caches what it can and ships only what earned it. This module builds the three primitives behind that: matrix expansion, caching, and artifact promotion.
ⓘ Concept: One job, every combination
expand_matrix, including exclude for the combination that never works.Why it matters — A matrix is how you catch 'works on 3.11, breaks on 3.13' before a user does — the same job, run once per environment.
Ask the mentor about this module
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
🎓 Practice ladder
1 graded rung · ~14 minBuild the matrix-expansion, caching and promotion helpers a real pipeline runs on.
Rung 1 — test matrices, caching & promotion
Loading exercise…
Your pipeline gates, fans out, and promotes. The last track packages the result into the artifact you actually deploy — a container image.