fail-fast
A matrix setting, on by default, that cancels all remaining matrix jobs as soon as one fails.
In more detail
It gives a red light quickly but tells you about only one broken combination. Set fail-fast: false to let every combination finish and report.
Example
strategy:
fail-fast: falseRelated terms
- strategy matrix — A job setting that expands one job description into one job for every combination of the listed values.
- max-parallel — A matrix setting that limits how many of its jobs may run at the same time.
Taught in
- Scaling with Matrix Builds — Continuous Integration & Continuous Delivery Pipelines
- Matrices, Needs And Concurrency: The Shape Of A Run — GitHub Actions (GH-200) Exam Prep
- Why It Ran, Why It Did Not: Reading Runs, Jobs And Checks — GitHub Actions (GH-200) Exam Prep
- Faster And Cheaper: Where The Minutes Go — GitHub Actions (GH-200) Exam Prep
References
- GitHub Docs: Running variations of jobs in a workflow
- GitHub Docs: Workflow syntax for GitHub Actions