-
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.
Merge changes published in the Gutenberg plugin "release/8.0" branch
- Loading branch information
Showing
435 changed files
with
11,004 additions
and
24,771 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
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 |
---|---|---|
|
@@ -24,10 +24,8 @@ branches: | |
|
||
env: | ||
global: | ||
- 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 +87,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,59 +153,58 @@ 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 | ||
|
||
- name: E2E tests (Admin) (1/4) | ||
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD= | ||
env: FORCE_REDUCED_MOTION=true | ||
script: | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 0' < ~/.jest-e2e-tests ) | ||
|
||
- name: E2E tests (Admin) (2/4) | ||
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD= | ||
env: FORCE_REDUCED_MOTION=true | ||
script: | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 1' < ~/.jest-e2e-tests ) | ||
|
||
- name: E2E tests (Admin) (3/4) | ||
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD= | ||
env: FORCE_REDUCED_MOTION=true | ||
script: | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 2' < ~/.jest-e2e-tests ) | ||
|
||
- name: E2E tests (Admin) (4/4) | ||
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD= | ||
env: FORCE_REDUCED_MOTION=true | ||
script: | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 3' < ~/.jest-e2e-tests ) | ||
|
||
- name: E2E tests (Author) (1/4) | ||
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD= | ||
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true | ||
script: | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 0' < ~/.jest-e2e-tests ) | ||
|
||
- name: E2E tests (Author) (2/4) | ||
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD= | ||
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true | ||
script: | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 1' < ~/.jest-e2e-tests ) | ||
|
||
- name: E2E tests (Author) (3/4) | ||
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD= | ||
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true | ||
script: | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 2' < ~/.jest-e2e-tests ) | ||
|
||
- name: E2E tests (Author) (4/4) | ||
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD= | ||
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true | ||
script: | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests | ||
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 3' < ~/.jest-e2e-tests ) | ||
|
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
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
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
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
Oops, something went wrong.