Make WordPress Core

Changeset 50435 for trunk


Ignore:
Timestamp:
02/25/2021 02:03:16 PM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Disable fail-fast for PHPUnit testing.

In GitHub Actions, there is a fail-fast option that will cancel all incomplete jobs within a workflow as soon as one failure is encountered. This defaults to true.

This is great for alerting you of a failure faster, but does not give you the full picture of what is failing. For example, it’s possible that there is a failing test on 2 versions of PHP, but not others. If fail-fast is enabled, it’s impossible to know this.

Even with fail-fast disabled, the workflow will still report a failure if one or more jobs produce a failing result.

Props johbillion, jorbin.
Fixes #52612.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.