Skip to content
Latchkey

Job Matrix - CI/CD Glossary Definition

A job matrix is a strategy.matrix definition that expands a single job into multiple parallel jobs, one per combination of the variables you list (for example OS and language version).

How it expands

A matrix with os: [ubuntu-latest, windows-latest] and node: [18, 20] produces four jobs. Each combination is exposed as ${{ matrix.os }} and ${{ matrix.node }}. Set strategy.fail-fast: false to let all combinations finish even if one fails.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →