-
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.9" branch
- Loading branch information
1 parent
3a4125a
commit 8e27960
Showing
971 changed files
with
33,214 additions
and
15,485 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Bug report for Mobile Apps | ||
about: Create a report to help us improve the Gutenberg mobile apps version | ||
labels: Mobile App Android/iOS | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Tap on '....' | ||
3. Scroll down to '....' | ||
4. See '... exact error ...' | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Editor version (please complete the following information):** | ||
- WordPress version: [e.g: 5.3.2] | ||
- Does the website have the Gutenberg plugin installed, or is it using the block editor that comes by default? [e.g: "gutenberg plugin", "default"] | ||
- If the Gutenberg plugin is installed, which version is it? [e.g., 7.6] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6, Pixel 3] | ||
- OS: [e.g. iOS 8.1, Android 10.0] | ||
- WordPress App Version [e.g. 15.3] or Demo App Version [branch name or git commit hash] | ||
|
||
**Additional context** | ||
- To report a security issue, please visit the WordPress HackerOne program: https://hackerone.com/wordpress. |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Cancel | ||
on: pull_request | ||
jobs: | ||
cancel: | ||
name: 'Cancel Previous Runs' | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 3 | ||
steps: | ||
- name: Get all workflow ids and set to env variable | ||
run: echo ::set-env name=WORKFLOW_IDS_TO_CANCEL::$(curl https://api.github.com/repos/${GITHUB_REPOSITORY}/actions/workflows -s | jq -r '.workflows | map(.id|tostring) | join(",")') | ||
|
||
- uses: styfle/[email protected] | ||
with: | ||
workflow_id: ${{ env.WORKFLOW_IDS_TO_CANCEL }} | ||
access_token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -2,8 +2,12 @@ name: End-to-End Tests | |
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
push: | ||
branches: [master] | ||
paths-ignore: | ||
- '**.md' | ||
|
||
jobs: | ||
admin-1: | ||
|
@@ -39,7 +43,6 @@ jobs: | |
- name: Install WordPress | ||
run: | | ||
echo '{ "config": { "SCRIPT_DEBUG": false, "WP_PHP_BINARY": "php", "WP_TESTS_EMAIL": "[email protected]", "WP_TESTS_TITLE": "Test Blog" } }' > .wp-env.override.json | ||
chmod -R 767 ./ # TODO: Possibly integrate in wp-env | ||
npm run wp-env start | ||
|
@@ -81,7 +84,6 @@ jobs: | |
- name: Install WordPress | ||
run: | | ||
echo '{ "config": { "SCRIPT_DEBUG": false, "WP_PHP_BINARY": "php", "WP_TESTS_EMAIL": "[email protected]", "WP_TESTS_TITLE": "Test Blog" } }' > .wp-env.override.json | ||
chmod -R 767 ./ # TODO: Possibly integrate in wp-env | ||
npm run wp-env start | ||
|
@@ -123,7 +125,6 @@ jobs: | |
- name: Install WordPress | ||
run: | | ||
echo '{ "config": { "SCRIPT_DEBUG": false, "WP_PHP_BINARY": "php", "WP_TESTS_EMAIL": "[email protected]", "WP_TESTS_TITLE": "Test Blog" } }' > .wp-env.override.json | ||
chmod -R 767 ./ # TODO: Possibly integrate in wp-env | ||
npm run wp-env start | ||
|
@@ -165,7 +166,6 @@ jobs: | |
- name: Install WordPress | ||
run: | | ||
echo '{ "config": { "SCRIPT_DEBUG": false, "WP_PHP_BINARY": "php", "WP_TESTS_EMAIL": "[email protected]", "WP_TESTS_TITLE": "Test Blog" } }' > .wp-env.override.json | ||
chmod -R 767 ./ # TODO: Possibly integrate in wp-env | ||
npm run wp-env start | ||
|
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Performances Tests | ||
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
|
||
jobs: | ||
performance: | ||
name: Compare performance with master | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Cache node modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
# npm cache files are stored in `~/.npm` on Linux/macOS | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- name: Npm install | ||
run: | | ||
npm ci | ||
- name: Run the performance tests | ||
run: ./bin/plugin/cli.js perf --ci $GITHUB_SHA master --tests-branch $GITHUB_SHA |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,12 @@ name: Unit Tests | |
|
||
on: | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
push: | ||
branches: [master] | ||
paths-ignore: | ||
- '**.md' | ||
|
||
jobs: | ||
unit-js: | ||
|
@@ -76,7 +80,6 @@ jobs: | |
- name: Install WordPress | ||
run: | | ||
echo '{ "config": { "SCRIPT_DEBUG": false, "WP_PHP_BINARY": "php", "WP_TESTS_EMAIL": "[email protected]", "WP_TESTS_TITLE": "Test Blog" } }' > .wp-env.override.json | ||
chmod -R 767 ./ # TODO: Possibly integrate in wp-env | ||
npm run wp-env start | ||
|
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
{ | ||
"core": "WordPress/WordPress", | ||
"plugins": [ "." ], | ||
"mappings": { | ||
"wp-content/mu-plugins": "./packages/e2e-tests/mu-plugins", | ||
"wp-content/plugins/gutenberg-test-plugins": "./packages/e2e-tests/plugins" | ||
"env": { | ||
"tests": { | ||
"mappings": { | ||
"wp-content/mu-plugins": "./packages/e2e-tests/mu-plugins", | ||
"wp-content/plugins/gutenberg-test-plugins": "./packages/e2e-tests/plugins" | ||
} | ||
} | ||
} | ||
} |
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.