[wp-trac] [WordPress Trac] #52983: Prevent PHPUnit tests from running on `push` for forks and private mirrors
WordPress Trac
noreply at wordpress.org
Tue Apr 6 15:26:19 UTC 2021
#52983: Prevent PHPUnit tests from running on `push` for forks and private mirrors
-----------------------------------+----------------------
Reporter: desrosj | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch fixed-major | Focuses:
-----------------------------------+----------------------
Comment (by desrosj):
In [changeset:"50673" 50673]:
{{{
#!CommitTicketReference repository="" revision="50673"
Build/Test Tools: Prevent PHPUnit tests on `push` for forks/private
mirrors.
The reorganization of the PHPUnit workflow in [50441] unintentionally
caused the tests to be run for every `push` event, even for forks and
private mirrors.
Previously, the second job required the first one to pass, and the
conditional check on the first prevented both from running. Because the
first job is no longer required for the second, both jobs must have the
appropriate conditional check.
Merges [50670] to the 5.5 branch.
Fixes #52983.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52983#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list