[wp-trac] [WordPress Trac] #55668: skipOnAutomatedBranches() does not work as expected, take 2
WordPress Trac
noreply at wordpress.org
Wed May 4 00:38:32 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 | Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"53349" 53349]:
{{{
#!CommitTicketReference repository="" revision="53349"
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].
Fixes #55668.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55668#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list