Make WordPress Core


Ignore:
Timestamp:
10/21/2020 07:55:17 PM (6 years ago)
Author:
desrosj
Message:

Build/Test Tools: Pass GitHub Action related environment variables to the Docker container.

This ensures that WP_UnitTestCase::skipOnAutomatedBranches() has access to these variables so that time sensitive tests can be skipped when appropriate.

This also updates that logic to be more clear.

Follow up to [49264].

Props ocean90, johnbillion.
See #50401, #49050, #47767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docker-compose.yml

    r47912 r49267  
    111111      TRAVIS_BRANCH: ${TRAVIS_BRANCH-false}
    112112      TRAVIS_PULL_REQUEST: ${TRAVIS_PULL_REQUEST-false}
     113      GITHUB_REF: ${GITHUB_REF-false}
     114      GITHUB_EVENT_NAME: ${GITHUB_EVENT_NAME-false}
    113115
    114116    volumes:
Note: See TracChangeset for help on using the changeset viewer.