Skip to content

CICD-040 · Retain failing matrix logs from other rows ​

Encyclopedia · Matrices and sharding · All snippets

Previous · CICD-039 · Next · CICD-041

1. Where it fits ​

  • Placement .github/workflows/ci.yml, inside the relevant job.
  • Prerequisites workspace whose runtime dependencies match the chosen target combinations.
  • Platforms github-actions, gitea-actions.

2. Copy the snippet ​

yaml
strategy:
  fail-fast: false
  matrix:
    runtime: [stable, next]

3. How it works ​

fail-fast false keeps other matrix jobs running after a failure. This preserves their evidence and consumes more runner time on a broken build.

4. Verify the result ​

A stable failure does not cancel the other active row.

Validation syntax-validated (YAML parse). Status definitions.