Changeset 51685
- Timestamp:
- 08/28/2021 09:16:22 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package.json
r51443 r51685 171 171 "env:logs": "node ./tools/local-env/scripts/docker.js logs", 172 172 "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", 175 175 "test:e2e": "node ./tests/e2e/run-tests.js", 176 176 "wp-packages-update": "wp-scripts packages-update" -
trunk/tools/local-env/scripts/install.js
r51179 r51685 22 22 23 23 install_wp_importer(); 24 25 install_composer_dependencies(); 24 26 25 27 // Read in wp-tests-config-sample.php, edit it to work with our config, then write it to wp-tests-config.php. … … 58 60 execSync( `docker-compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1`, { stdio: 'inherit' } ); 59 61 } 62 63 /** 64 * Installs the Composer package dependencies within the Docker environment. 65 */ 66 function install_composer_dependencies() { 67 execSync( `docker-compose run -T php composer update -W`, { stdio: 'inherit' } ); 68 }
Note: See TracChangeset
for help on using the changeset viewer.