Make WordPress Core


Ignore:
Timestamp:
05/04/2022 11:42:42 AM (2 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 6.0 branch.
Fixes #55668.

Location:
branches/6.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.0

    • Property svn:mergeinfo changed
      /trunk (added)merged: 53349
  • branches/6.0/docker-compose.yml

    r51868 r53350  
    4242      - PHP_FPM_UID=${PHP_FPM_UID-1000}
    4343      - PHP_FPM_GID=${PHP_FPM_GID-1000}
     44      - GITHUB_REF=${GITHUB_REF-false}
     45      - GITHUB_EVENT_NAME=${GITHUB_EVENT_NAME-false}
    4446
    4547    volumes:
Note: See TracChangeset for help on using the changeset viewer.