[wp-trac] [WordPress Trac] #52645: Split slow tests into their own job on PHP 5.6 and run them in parallel
WordPress Trac
noreply at wordpress.org
Fri Feb 26 15:07:17 UTC 2021
#52645: Split slow tests into their own job on PHP 5.6 and run them in parallel
------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+--------------------------
Changes (by johnbillion):
* owner: (none) => johnbillion
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"50444" 50444]:
{{{
#!CommitTicketReference repository="" revision="50444"
Build/Test Tools: Split the PHPUnit tests for PHP versions below 7.0 in
half, allowing them to run in parallel and reduce the overall test run
duration on GitHub Actions.
The `external-http`, `media`, and `restapi` groups combined take roughly
the same time as all the other tests combined. Splitting the test run in
two speeds up the PHP 5.6 test runs which are the slowest by quite a
margin. The net reduction in duration is only seen on PHP versions older
than 7.0 where the reduction is greater than the time taken for the job to
be set up.
Props peterwilsoncc, desrosj, johnbillion
Special shout out to manzoorwanijk whose article about running steps in
parallel started me down this path.
Fixes #52645
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52645#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list