Make WordPress Core

Changeset 51685 for trunk/package.json


Ignore:
Timestamp:
08/28/2021 09:16:22 PM (4 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Install the Composer package dependencies within the Docker environment as part of the local development environment installation and testing processes.

This makes the use of Composer on the host machine optional when using the Docker environment, which means there is no change to the process for installing, updating, and running the tests since [51559].

Props hellofromTonya, azaozz, netweb, desrosj, jrf, johnbillion

Fixes #53945

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package.json

    r51443 r51685  
    171171        "env:logs": "node ./tools/local-env/scripts/docker.js logs",
    172172        "env:pull": "node ./tools/local-env/scripts/docker.js pull",
    173         "test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit",
    174         "test:php-composer": "node ./tools/local-env/scripts/docker.js run --rm phpunit php ./vendor/bin/phpunit",
     173        "test:php": "node ./tools/local-env/scripts/docker.js run -T php composer update -W && node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit",
     174        "test:php-composer": "node ./tools/local-env/scripts/docker.js run -T php composer update -W && node ./tools/local-env/scripts/docker.js run --rm phpunit php ./vendor/bin/phpunit",
    175175        "test:e2e": "node ./tests/e2e/run-tests.js",
    176176        "wp-packages-update": "wp-scripts packages-update"
Note: See TracChangeset for help on using the changeset viewer.