[wp-trac] [WordPress Trac] #55668: skipOnAutomatedBranches() does not work as expected, take 2
WordPress Trac
noreply at wordpress.org
Wed May 4 11:43:44 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:
-------------------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"53351" 53351]:
{{{
#!CommitTicketReference repository="" revision="53351"
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 5.9 branch.
Fixes #55668.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55668#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list