-
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 branch 'trunk' of personal.github.com:sunil25393/gutenberg into…
… add-test-for-post-title-block-render
- Loading branch information
Showing
1,976 changed files
with
58,710 additions
and
50,411 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
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
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 |
---|---|---|
|
@@ -16,42 +16,6 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
e2e-puppeteer: | ||
name: Puppeteer | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository == 'WordPress/gutenberg' || github.event_name == 'pull_request' }} | ||
|
||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} | ||
|
||
- name: Setup Node.js and install dependencies | ||
uses: ./.github/setup-node | ||
|
||
- name: Npm build | ||
run: npm run build | ||
|
||
- name: Install WordPress | ||
run: | | ||
npm run wp-env start | ||
- name: Archive debug artifacts (screenshots, HTML snapshots) | ||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | ||
if: always() | ||
with: | ||
name: failures-artifacts | ||
path: artifacts | ||
if-no-files-found: ignore | ||
|
||
- name: Archive flaky tests report | ||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | ||
if: always() | ||
with: | ||
name: flaky-tests-report | ||
path: flaky-tests | ||
if-no-files-found: ignore | ||
|
||
e2e-playwright: | ||
name: Playwright - ${{ matrix.part }} | ||
runs-on: ubuntu-latest | ||
|
@@ -63,7 +27,7 @@ jobs: | |
totalParts: [8] | ||
|
||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | ||
with: | ||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} | ||
|
||
|
@@ -85,18 +49,18 @@ jobs: | |
env: | ||
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 | ||
run: | | ||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:e2e:playwright -- --shard=${{ matrix.part }}/${{ matrix.totalParts }} | ||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test:e2e -- --shard=${{ matrix.part }}/${{ matrix.totalParts }} | ||
- name: Archive debug artifacts (screenshots, traces) | ||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | ||
uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2 | ||
if: always() | ||
with: | ||
name: failures-artifacts | ||
path: artifacts/test-results | ||
if-no-files-found: ignore | ||
|
||
- name: Archive flaky tests report | ||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | ||
uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2 | ||
if: always() | ||
with: | ||
name: flaky-tests-report | ||
|
@@ -105,18 +69,18 @@ jobs: | |
|
||
report-to-issues: | ||
name: Report to GitHub | ||
needs: [e2e-puppeteer, e2e-playwright] | ||
needs: [e2e-playwright] | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout defaults to using the branch which triggered the event, which | ||
# isn't necessarily `trunk` (e.g. in the case of a merge). | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | ||
with: | ||
ref: trunk | ||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} | ||
|
||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].5 | ||
id: download_artifact | ||
# Don't fail the job if there isn't any flaky tests report. | ||
continue-on-error: true | ||
|
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.