Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
name: PHPUnit Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
- trunk
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
- '3.[7-9]'
|
|
|
|
- '[4-9].[0-9]'
|
|
|
|
tags:
|
Build/Test Tools: Backport updates to GitHub Actions.
This backports several changesets to GitHub Actions workflows. These changesets:
- address the deprecated notices related to save-output and set-output to ensure the workflows continue to run after these are removed.
- adds support for automatically retrying a failed workflow once.
- removes workflow files that are not applicable to the branch.
- backports some Docker environment related tooling updates for the sake of consistency across branches.
Merges [53736], [53737], [53940], [53947], [54039], [54096], [54108], [54293], [54313], [54342], [54343], [54373], [54511], [54650], [54651], [54674], [54750], [54852], [55152], [54651], [55487] to the 4.6 branch.
See #55652, #56407, #56528, #54695, #56820, #56816, #56793, #56820, #57572.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@55530 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-10 16:29:42 +00:00
|
|
|
- '[0-9]+.[0-9]'
|
|
|
|
- '[0-9]+.[0-9].[0-9]+'
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
pull_request:
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
branches:
|
|
|
|
- trunk
|
|
|
|
- '3.[7-9]'
|
|
|
|
- '[4-9].[0-9]'
|
|
|
|
workflow_dispatch:
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
# Once weekly On Sundays at 00:00 UTC.
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 0'
|
|
|
|
|
Build/Test Tools: Use the Slack notifications workflow as a reusable one.
This backports several changesets that are required to remove the reliance on the `workflow_run` event for posting Slack notifications.
The Slack notification workflow will now be called as a reusable one, which has several benefits (see [53591]).
Several other minor GitHub Actions related updates are also being backported in this commit to maintain tooling consistency across branches that still receive security updates as a courtesy when necessary.
Workflows that are not relevant to this branch that were mistakenly backported are also being deleted.
Merges [50473], [50704], [50796], [50930], [51341], [51355], [51498], [51511], [51535], [51924], [51925], [51937], [52002], [52130], [52183], [52233], [53112], [53581], [53582], [53592] to the 4.6 branch.
See #56095.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@53615 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 17:18:38 +00:00
|
|
|
# Cancels all previous workflow runs for pull requests that have not completed.
|
|
|
|
concurrency:
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
# The concurrency group contains the workflow name and the branch name for pull requests
|
|
|
|
# or the commit hash for any other events.
|
Build/Test Tools: Use the Slack notifications workflow as a reusable one.
This backports several changesets that are required to remove the reliance on the `workflow_run` event for posting Slack notifications.
The Slack notification workflow will now be called as a reusable one, which has several benefits (see [53591]).
Several other minor GitHub Actions related updates are also being backported in this commit to maintain tooling consistency across branches that still receive security updates as a courtesy when necessary.
Workflows that are not relevant to this branch that were mistakenly backported are also being deleted.
Merges [50473], [50704], [50796], [50930], [51341], [51355], [51498], [51511], [51535], [51924], [51925], [51937], [52002], [52130], [52183], [52233], [53112], [53581], [53582], [53592] to the 4.6 branch.
See #56095.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@53615 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 17:18:38 +00:00
|
|
|
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
# Disable permissions for all available scopes by default.
|
|
|
|
# Any needed permissions should be configured at the job level.
|
|
|
|
permissions: {}
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
#
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
# Creates a PHPUnit test job for each PHP combination.
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
#
|
|
|
|
test-php:
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
name: PHP ${{ matrix.php }}
|
|
|
|
uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v1.yml@trunk
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
secrets: inherit
|
|
|
|
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
strategy:
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
fail-fast: false
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
matrix:
|
|
|
|
os: [ ubuntu-latest ]
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
php: [ '5.3', '5.4', '5.5' ]
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
split_slow: [ false, true ]
|
|
|
|
multisite: [ false, true ]
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
memcached: [ false ]
|
|
|
|
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
include:
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
# Additional "slow" jobs for PHP 5.6.
|
|
|
|
- php: '5.6'
|
|
|
|
phpunit: '4-php-5.6'
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
os: ubuntu-latest
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
memcached: false
|
|
|
|
multisite: false
|
|
|
|
split_slow: true
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
- php: '5.6'
|
|
|
|
phpunit: '4-php-5.6'
|
|
|
|
os: ubuntu-latest
|
|
|
|
memcached: false
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
multisite: true
|
|
|
|
split_slow: true
|
|
|
|
# Include job for specific PHPUnit versions.
|
|
|
|
- php: '7.0'
|
|
|
|
phpunit: '5-php-7.0'
|
|
|
|
os: ubuntu-latest
|
|
|
|
memcached: false
|
|
|
|
multisite: false
|
|
|
|
split_slow: false
|
|
|
|
- php: '7.0'
|
|
|
|
phpunit: '5-php-7.0'
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
os: ubuntu-latest
|
|
|
|
memcached: false
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
multisite: true
|
|
|
|
split_slow: false
|
|
|
|
- php: '5.6'
|
|
|
|
phpunit: '4-php-5.6'
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
os: ubuntu-latest
|
|
|
|
memcached: false
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
multisite: false
|
|
|
|
split_slow: false
|
|
|
|
- php: '5.6'
|
|
|
|
phpunit: '4-php-5.6'
|
Build/Test Tools: Restore automated testing in the 4.6 branch.
This commit merges the workflow files required to run automated testing on GitHub Actions.
In addition, [49836] and [50285] have been included in order to keep the local Docker environment consistent across all branches.
Merges [49162,49168-49169,49175,49204,49227-49228,49244,49369,49371,49548,49781-49784,49786,49836,49938,50268,50285,50298] to the 4.6 branch.
See #50401.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50311 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:48:05 +00:00
|
|
|
os: ubuntu-latest
|
|
|
|
memcached: false
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
multisite: true
|
|
|
|
split_slow: false
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
# Include jobs for PHP 7.0 with memcached.
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
- php: '7.0'
|
|
|
|
phpunit: '5-php-7.0'
|
|
|
|
os: ubuntu-latest
|
|
|
|
memcached: true
|
|
|
|
multisite: false
|
|
|
|
split_slow: false
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
- php: '7.0'
|
|
|
|
phpunit: '5-php-7.0'
|
|
|
|
os: ubuntu-latest
|
|
|
|
memcached: true
|
|
|
|
multisite: true
|
|
|
|
split_slow: false
|
Build/Test Tools: Backport GitHub Action and build improvements to the 4.6 branch.
This backports several build and test tool improvements to the 4.6 branch. Most notably, this includes:
- The changes required to allow each workflow to be triggered by the `workflow_dispatch` event so that tests can be run on a schedule [50590].
- Splitting single site and multisite tests into parallel jobs [50379].
- Split slow tests into separate, parallel jobs for PHP <= 5.6 [50444].
- Better branch and path scoping for GitHub Action workflows when running on `pull_request` [50432,50479].
- Several `devDependency` updates.
Merges [50379,50387,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.6 branch.
See #50401, #51801, #51802, #52548, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@50637 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:33:14 +00:00
|
|
|
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
with:
|
|
|
|
os: ${{ matrix.os }}
|
|
|
|
php: ${{ matrix.php }}
|
|
|
|
phpunit: ${{ matrix.phpunit && matrix.phpunit || matrix.php }}
|
|
|
|
multisite: ${{ matrix.multisite }}
|
|
|
|
split_slow: ${{ matrix.split_slow }}
|
|
|
|
memcached: ${{ matrix.memcached }}
|
|
|
|
phpunit-config: ${{ matrix.multisite && 'tests/phpunit/multisite.xml' || 'phpunit.xml.dist' }}
|
Build/Test Tools: Use the Slack notifications workflow as a reusable one.
This backports several changesets that are required to remove the reliance on the `workflow_run` event for posting Slack notifications.
The Slack notification workflow will now be called as a reusable one, which has several benefits (see [53591]).
Several other minor GitHub Actions related updates are also being backported in this commit to maintain tooling consistency across branches that still receive security updates as a courtesy when necessary.
Workflows that are not relevant to this branch that were mistakenly backported are also being deleted.
Merges [50473], [50704], [50796], [50930], [51341], [51355], [51498], [51511], [51535], [51924], [51925], [51937], [52002], [52130], [52183], [52233], [53112], [53581], [53582], [53592] to the 4.6 branch.
See #56095.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@53615 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 17:18:38 +00:00
|
|
|
|
|
|
|
slack-notifications:
|
|
|
|
name: Slack Notifications
|
|
|
|
uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
needs: [ test-php ]
|
Build/Test Tools: Use the Slack notifications workflow as a reusable one.
This backports several changesets that are required to remove the reliance on the `workflow_run` event for posting Slack notifications.
The Slack notification workflow will now be called as a reusable one, which has several benefits (see [53591]).
Several other minor GitHub Actions related updates are also being backported in this commit to maintain tooling consistency across branches that still receive security updates as a courtesy when necessary.
Workflows that are not relevant to this branch that were mistakenly backported are also being deleted.
Merges [50473], [50704], [50796], [50930], [51341], [51355], [51498], [51511], [51535], [51924], [51925], [51937], [52002], [52130], [52183], [52233], [53112], [53581], [53582], [53592] to the 4.6 branch.
See #56095.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@53615 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 17:18:38 +00:00
|
|
|
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.event_name != 'pull_request' && always() }}
|
|
|
|
with:
|
|
|
|
calling_status: ${{ needs.test-php.result == 'success' && 'success' || needs.test-php.result == 'cancelled' && 'cancelled' || 'failure' }}
|
|
|
|
secrets:
|
|
|
|
SLACK_GHA_SUCCESS_WEBHOOK: ${{ secrets.SLACK_GHA_SUCCESS_WEBHOOK }}
|
|
|
|
SLACK_GHA_CANCELLED_WEBHOOK: ${{ secrets.SLACK_GHA_CANCELLED_WEBHOOK }}
|
|
|
|
SLACK_GHA_FIXED_WEBHOOK: ${{ secrets.SLACK_GHA_FIXED_WEBHOOK }}
|
|
|
|
SLACK_GHA_FAILURE_WEBHOOK: ${{ secrets.SLACK_GHA_FAILURE_WEBHOOK }}
|
Build/Test Tools: Backport updates to GitHub Actions.
This backports several changesets to GitHub Actions workflows. These changesets:
- address the deprecated notices related to save-output and set-output to ensure the workflows continue to run after these are removed.
- adds support for automatically retrying a failed workflow once.
- removes workflow files that are not applicable to the branch.
- backports some Docker environment related tooling updates for the sake of consistency across branches.
Merges [53736], [53737], [53940], [53947], [54039], [54096], [54108], [54293], [54313], [54342], [54343], [54373], [54511], [54650], [54651], [54674], [54750], [54852], [55152], [54651], [55487] to the 4.6 branch.
See #55652, #56407, #56528, #54695, #56820, #56816, #56793, #56820, #57572.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@55530 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-10 16:29:42 +00:00
|
|
|
|
|
|
|
failed-workflow:
|
|
|
|
name: Failed workflow tasks
|
|
|
|
runs-on: ubuntu-latest
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
permissions:
|
|
|
|
actions: write
|
Build/Test Tools: Backport updates to GitHub Actions.
This backports several changesets to GitHub Actions workflows. These changesets:
- address the deprecated notices related to save-output and set-output to ensure the workflows continue to run after these are removed.
- adds support for automatically retrying a failed workflow once.
- removes workflow files that are not applicable to the branch.
- backports some Docker environment related tooling updates for the sake of consistency across branches.
Merges [53736], [53737], [53940], [53947], [54039], [54096], [54108], [54293], [54313], [54342], [54343], [54373], [54511], [54650], [54651], [54674], [54750], [54852], [55152], [54651], [55487] to the 4.6 branch.
See #55652, #56407, #56528, #54695, #56820, #56816, #56793, #56820, #57572.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@55530 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-10 16:29:42 +00:00
|
|
|
needs: [ test-php, slack-notifications ]
|
|
|
|
if: |
|
|
|
|
always() &&
|
|
|
|
github.repository == 'WordPress/wordpress-develop' &&
|
|
|
|
github.event_name != 'pull_request' &&
|
|
|
|
github.run_attempt < 2 &&
|
|
|
|
(
|
|
|
|
needs.test-php.result == 'cancelled' || needs.test-php.result == 'failure'
|
|
|
|
)
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Dispatch workflow run
|
Build/Test Tools: Make use of new reusable workflows for 4.6.
This updates the 4.6 branch to utilize the new reusable workflows in trunk introduced in [58165].
This also includes backports for a some additional improvements and bug fixes that are necessary for the local development environment to continue working long term:
- The image and platform properties for the mysql container have been updated to always prefer `amd64` containers (#60822).
- `macos-13` is now pinned for MacOS jobs instead of `macos-latest` (#61340).
- Migrating to Docker Compose V2 (#60901).
- Removing the version property from docker-compose.yml (#59416).
- Improvements to how artifacts and comments for Playground testing are generated.
- Removing SVN related commands causing failures (#61216).
- Updating the `actions/github-scripts` action to the latest version.
- Improvements to the `healthcheck` command for the `mysql` container (#58867).
Merges [51673], [53552], [56464], [57918], [58157], [57124], [57125], [57249] to the 4.6 branch.
Props johnbillion, joemcgill, swissspidy, thelovekesh, narenin, mukesh27, JeffPaul, peterwilsoncc, zieladam, ockham, SergeyBiryukov, jorbin, Clorith, afragen, jrf.
See #58867, #61340, #60822, #61216, #60901, #61101, #59416, #59805, #61213.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@58639 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:49:49 +00:00
|
|
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
Build/Test Tools: Backport updates to GitHub Actions.
This backports several changesets to GitHub Actions workflows. These changesets:
- address the deprecated notices related to save-output and set-output to ensure the workflows continue to run after these are removed.
- adds support for automatically retrying a failed workflow once.
- removes workflow files that are not applicable to the branch.
- backports some Docker environment related tooling updates for the sake of consistency across branches.
Merges [53736], [53737], [53940], [53947], [54039], [54096], [54108], [54293], [54313], [54342], [54343], [54373], [54511], [54650], [54651], [54674], [54750], [54852], [55152], [54651], [55487] to the 4.6 branch.
See #55652, #56407, #56528, #54695, #56820, #56816, #56793, #56820, #57572.
git-svn-id: https://develop.svn.wordpress.org/branches/4.6@55530 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-10 16:29:42 +00:00
|
|
|
with:
|
|
|
|
retries: 2
|
|
|
|
retry-exempt-status-codes: 418
|
|
|
|
script: |
|
|
|
|
github.rest.actions.createWorkflowDispatch({
|
|
|
|
owner: context.repo.owner,
|
|
|
|
repo: context.repo.repo,
|
|
|
|
workflow_id: 'failed-workflow.yml',
|
|
|
|
ref: 'trunk',
|
|
|
|
inputs: {
|
|
|
|
run_id: '${{ github.run_id }}'
|
|
|
|
}
|
|
|
|
});
|