-
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 'WordPress:trunk' into update/convert-blob-to-typescript
- Loading branch information
Showing
606 changed files
with
4,889 additions
and
4,226 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
totalParts: [8] | ||
|
||
steps: | ||
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | ||
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | ||
with: | ||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} | ||
|
||
|
@@ -53,52 +53,75 @@ jobs: | |
- name: Archive debug artifacts (screenshots, traces) | ||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | ||
if: always() | ||
if: ${{ !cancelled() }} | ||
with: | ||
name: failures-artifacts | ||
name: failures-artifacts--${{ matrix.part }} | ||
path: artifacts/test-results | ||
if-no-files-found: ignore | ||
|
||
- name: Archive flaky tests report | ||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | ||
if: always() | ||
if: ${{ !cancelled() }} | ||
with: | ||
name: flaky-tests-report | ||
name: flaky-tests-report--${{ matrix.part }} | ||
path: flaky-tests | ||
if-no-files-found: ignore | ||
|
||
merge-artifacts: | ||
name: Merge Artifacts | ||
if: ${{ !cancelled() }} | ||
needs: [e2e-playwright] | ||
runs-on: ubuntu-latest | ||
outputs: | ||
has-flaky-test-report: ${{ !!steps.merge-flaky-tests-reports.outputs.artifact-id }} | ||
steps: | ||
- name: Merge failures artifacts | ||
uses: actions/upload-artifact/merge@v4 | ||
# Don't fail the job if there aren't any artifacts to merge. | ||
continue-on-error: true | ||
with: | ||
name: failures-artifacts | ||
# Retain the merged artifacts in case of a rerun. | ||
pattern: failures-artifacts* | ||
delete-merged: true | ||
|
||
- name: Merge flaky tests reports | ||
id: merge-flaky-tests-reports | ||
uses: actions/upload-artifact/merge@v4 | ||
continue-on-error: true | ||
with: | ||
name: flaky-tests-report | ||
pattern: flaky-tests-report* | ||
delete-merged: true | ||
|
||
report-to-issues: | ||
name: Report to GitHub | ||
needs: [e2e-playwright] | ||
if: ${{ always() }} | ||
needs: [merge-artifacts] | ||
if: ${{ needs.merge-artifacts.outputs.has-flaky-test-report == 'true' }} | ||
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | ||
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | ||
with: | ||
ref: trunk | ||
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }} | ||
|
||
- uses: actions/[email protected] | ||
id: download_artifact | ||
# Don't fail the job if there isn't any flaky tests report. | ||
continue-on-error: true | ||
with: | ||
name: flaky-tests-report | ||
path: flaky-tests | ||
|
||
- name: Setup Node.js and install dependencies | ||
if: ${{ steps.download_artifact.outcome == 'success' }} | ||
uses: ./.github/setup-node | ||
|
||
- name: Npm build | ||
if: ${{ steps.download_artifact.outcome == 'success' }} | ||
# TODO: We don't have to build the entire project, just the action itself. | ||
run: npm run build:packages | ||
|
||
- name: Report flaky tests | ||
if: ${{ steps.download_artifact.outcome == 'success' }} | ||
uses: ./packages/report-flaky-tests | ||
with: | ||
repo-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
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
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.