Category: Automation

GitHub Actions: Matrix Fail-Fast Cancels Remaining Tests

Read this guide in Polish

One combination of Node and the operating system fails and the other tests do not finish.

How to identify the source of the problem

Check strategy.fail-fast and the required number of combinations in matrix.

Check the workflow event type, permissions joba, run ID and first failed step.

Repair steps

For diagnosis, set fail-fast: false, and the end result depend on a complete set of checks.

How to Test Solution

The report shows the actual status of each configuration, without hiding any further errors.

Security and restrictions

Apply minimum token privileges and re-impotence. Do not remove main branch protection only for the convenience of the machine.