[wp-trac] [WordPress Trac] #55668: skipOnAutomatedBranches() does not work as expected, take 2

WordPress Trac noreply at wordpress.org
Wed May 4 11:43:04 UTC 2022


#55668: skipOnAutomatedBranches() does not work as expected, take 2
-------------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov                 |       Owner:  SergeyBiryukov
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  5.9.4
Component:  Build/Test Tools               |     Version:
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:
-------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53350" 53350]:
 {{{
 #!CommitTicketReference repository="" revision="53350"
 Build/Test Tools: Pass GitHub Actions environment variables to the Docker
 container.

 This ensures that `WP_UnitTestCase::skipOnAutomatedBranches()` has access
 to the `GITHUB_REF` and `GITHUB_EVENT_NAME` variables, so that some tests
 can be skipped when appropriate.

 Additionally, account for renaming the `master` branch to `trunk` in
 November 2021.

 Follow-up to [40241], [46999], [49264], [49267], [51868].

 Merges [53349] to the 6.0 branch.
 Fixes #55668.
 }}}

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


More information about the wp-trac mailing list