Make WordPress Core

Changeset 50285 for trunk/.env


Ignore:
Timestamp:
02/10/2021 04:52:13 PM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Install WordPress Importer plugin when installing the Docker-based local environment.

The WordPress Importer plugin is now downloaded to the tests/phpunit/data/plugins directory when running npm run env:install.

This ensures that the PHPUnit test suite will not fail when the plugin is missing.

This also introduces a new WP_IMPORTER_REVISION variable to the .env file, to control the SVN revision that is checked out.

Props johnbillion.
Fixes #49720.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.env

    r49836 r50285  
    4646LOCAL_PHP_MEMCACHED=false
    4747
     48##
    4849# The database software to use.
    4950#
    5051# Supported values are `mysql` and `mariadb`.
     52##
    5153LOCAL_DB_TYPE=mysql
    5254
     55##
    5356# The database version to use.
    5457#
     
    5760# When using `mysql`, see https://hub.docker.com/_/mysql/ for valid versions.
    5861# When using `mariadb`, see https://hub.docker.com/_/mariadb for valid versions.
     62##
    5963LOCAL_DB_VERSION=5.7
    6064
     
    6872# The URL to use when running e2e tests.
    6973WP_BASE_URL=http://localhost:${LOCAL_PORT}
     74
     75##
     76# The revision number of the WordPress Importer plugin to use when running unit tests.
     77#
     78# This should be an SVN revision number from the official plugin repository on wordpress.org.
     79##
     80WP_IMPORTER_REVISION=2387243
Note: See TracChangeset for help on using the changeset viewer.