[wp-trac] [WordPress Trac] #52612: Disable fast failing on GitHub Actions
WordPress Trac
noreply at wordpress.org
Thu Feb 25 14:03:31 UTC 2021
#52612: Disable fast failing on GitHub Actions
--------------------------------------+------------------------------
Reporter: johnbillion | Owner: desrosj
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: dev-feedback needs-patch | Focuses:
--------------------------------------+------------------------------
Changes (by desrosj):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"50435" 50435]:
{{{
#!CommitTicketReference repository="" revision="50435"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52612#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list