[wp-trac] [WordPress Trac] #50401: Tests: Move tests into Github Actions

WordPress Trac noreply at wordpress.org
Fri Feb 12 21:21:24 UTC 2021


#50401: Tests: Move tests into Github Actions
------------------------------+--------------------------
 Reporter:  whyisjake         |       Owner:  desrosj
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  5.7
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  performance
------------------------------+--------------------------

Comment (by desrosj):

 Automated testing has been restored for all branches. Some notes:

 - I elected to include all workflow files, even if they are not used in
 the branch. This made merging the changesets to older branches much easier
 (it avoids conflicts when the files are missing). The workflows will not
 run because of the way `branches` are scoped under the `push` trigger
 event. However, the `pull_request` will need to be removed from workflows
 that do not apply to certain branches if these files will remain.
 Otherwise, they will run and fail for all `pull_request` events.
 - The PHP 5.2 job is missing from branches that support that version. This
 is blocked by getting PHPUnit 3.6 to install within the PHPUnit Docker
 container for PHP 5.2. See https://github.com/WordPress/wpdev-docker-
 images/pull/46 for more information.
 - I decided to test all versions of PHP supported in each branch. My
 thinking was that there should be a successful test job on record for
 every combination to prove the transition worked. When PHP 5.2 is added to
 the matrix, these can also be trimmed appropriately to limit unnecessary
 builds.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50401#comment:136>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list