Docker and CI/CD · Junior · Question 54 of 75
What does a build matrix do?
- ✓Correct answer: Runs a job for each combination, e.g. Node 20 and 22
- 2Splits the repository into parts for faster builds
- 3Shows a table of which tests passed on which commit
Explanation
strategy.matrix expands one job definition into many parallel jobs, which is handy for testing several runtime versions or operating systems.