Make WordPress Core


Ignore:
Timestamp:
05/04/2022 11:43:28 AM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
branches/5.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.9

  • branches/5.9/tests/phpunit/tests/external-http/basic.php

    r52424 r53351  
    1111     */
    1212    public function test_readme_php_version() {
    13         // This test is designed to only run on trunk/master.
     13        // This test is designed to only run on trunk.
    1414        $this->skipOnAutomatedBranches();
    1515
     
    3232     */
    3333    public function test_readme_mysql_version() {
    34         // This test is designed to only run on trunk/master.
     34        // This test is designed to only run on trunk.
    3535        $this->skipOnAutomatedBranches();
    3636
     
    6464     */
    6565    public function test_readme_mariadb_version() {
    66         // This test is designed to only run on trunk/master.
     66        // This test is designed to only run on trunk.
    6767        $this->skipOnAutomatedBranches();
    6868
Note: See TracChangeset for help on using the changeset viewer.