-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build Tools: Install Composer dependencies as prelint step (#21537)
- Loading branch information
Showing
2 changed files
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,6 @@ env: | |
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true | ||
- WP_DEVELOP_DIR: ./wordpress | ||
- LOCAL_SCRIPT_DEBUG: false | ||
- INSTALL_COMPOSER: false | ||
- INSTALL_WORDPRESS: true | ||
|
||
# Make sure NodeGit gets the correct C libs. | ||
|
@@ -89,10 +88,6 @@ install: | |
npm run env connect | ||
npm run env cli plugin activate gutenberg | ||
fi | ||
- | | ||
if [[ "$INSTALL_COMPOSER" = "true" ]]; then | ||
npm run env docker-run -- php composer install --no-interaction | ||
fi | ||
- | | ||
if [[ "$E2E_ROLE" = "author" ]]; then | ||
npm run env cli -- user create author [email protected] --role=author --user_pass=authpass | ||
|
@@ -159,12 +154,11 @@ jobs: | |
- npm run test-unit:native -- --ci --maxWorkers=2 --cacheDirectory="$HOME/.jest-cache" | ||
|
||
- name: PHP unit tests | ||
env: INSTALL_COMPOSER=true | ||
script: | ||
- npm run test-php && npm run test-unit-php-multisite | ||
|
||
- name: PHP unit tests (PHP 5.6) | ||
env: INSTALL_COMPOSER=true LOCAL_PHP=5.6-fpm | ||
env: LOCAL_PHP=5.6-fpm | ||
script: | ||
- npm run test-php && npm run test-unit-php-multisite | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters