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

WordPress Trac noreply at wordpress.org
Tue Jan 5 19:22:04 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):

 In [changeset:"49938" 49938]:
 {{{
 #!CommitTicketReference repository="" revision="49938"
 Build/Test Tools: Simplify Composer package caching.

 This simplifies the caching of Composer dependencies in the coding
 standards and PHP compatibility workflows by using a published action.
 This combines 3 steps into 1 within these workflows.

 Because the Composer implementation within the PHPUnit test workflow is a
 bit specialized (`composer install` is run within the Docker container),
 caching has been left as is in that workflow. However, the cache key has
 been changed to include the version of PHP being tested. This will prevent
 incorrect versions of dependencies being present when they are required on
 jobs other than PHP 8.

 Props jrf.
 See #50401.
 }}}

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


More information about the wp-trac mailing list