Make WordPress Core

Changeset 51868 for trunk/.env


Ignore:
Timestamp:
09/24/2021 04:54:42 PM (4 years ago)
Author:
hellofromTonya
Message:

Build/Test Tools: Remove the PHPUnit container from local Docker environment.

This commit:

  • Removes the PHPUnit wordpressdevelop/phpunit container as a service to the Docker environment.
  • Updates test:php (the default way to run tests) to run the Composer PHPUnit package default.
  • Removes the test:php-composer script.

There is no longer a need for core to keep the wordpressdevelop/phpunit container as a service in docker-compose.yml. Removing it will reduce the overhead and bandwidth needed to set up WordPress locally and remove confusion about its use.

Follow-up to [45783-45784], [49099], [49362], [51545], [51736], [51685].

Props johnbillion, hellofromTonya.
Fixes #54112.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.env

    r51179 r51868  
    77# Below, the following substitutions can be made:
    88# - '{version}': any major.minor PHP version from 5.2 onwards.
    9 # - '{phpunit_version}': any major PHPUnit version starting with 4.
    109##
    1110
     
    1817# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
    1918LOCAL_PHP=latest
    20 
    21 ##
    22 # The PHPUnit version to use when running tests.
    23 #
    24 # Support for new PHPUnit versions is not backported to past versions, so some old WordPress branches require an older
    25 # version to run tests.
    26 #
    27 # Valid versions are:
    28 # - 'latest' for the highest version of PHPUnit supported on the highest version of PHP supported.
    29 # - '{version}-fpm' for the highest version of PHPUnit supported on the specified version of PHP.
    30 # - '{phpunit_version}-php-{version}-fpm' for a specific version of PHPUnit on the specified version of PHP. This format
    31 # is only available for PHP versions 5.6 and higher.
    32 #
    33 # For the full list of available options, see https://hub.docker.com/r/wordpressdevelop/phpunit/tags.
    34 #
    35 # For full documentation on PHPUnit compatibility and WordPress versions, see
    36 # https://make.wordpress.org/core/handbook/references/phpunit-compatibility-and-wordpress-versions/.
    37 #
    38 # This defaults to the value assigned to the value of LOCAL_PHP.
    39 ##
    40 LOCAL_PHPUNIT=${LOCAL_PHP}
    4119
    4220# Whether or not to enable XDebug.
Note: See TracChangeset for help on using the changeset viewer.