7 Commits

Author SHA1 Message Date
Jonathan Desrosiers
031ac1c07f Build/Test Tools: Disable AppArmor for JavaScript testing.
Some checks failed
Coding Standards / JavaScript coding standards (push) Has been cancelled
JavaScript Tests / QUnit Tests (push) Has been cancelled
PHPUnit Tests / PHP 5.3 (push) Has been cancelled
PHPUnit Tests / PHP 5.4 (push) Has been cancelled
PHPUnit Tests / PHP 5.5 (push) Has been cancelled
PHPUnit Tests / PHP 5.6 (push) Has been cancelled
PHPUnit Tests / PHP 7.0 (push) Has been cancelled
PHPUnit Tests / PHP 7.1 (push) Has been cancelled
Test Build Processes / Core running from build (push) Has been cancelled
Coding Standards / Slack Notifications (push) Has been cancelled
Coding Standards / Failed workflow tasks (push) Has been cancelled
JavaScript Tests / Slack Notifications (push) Has been cancelled
JavaScript Tests / Failed workflow tasks (push) Has been cancelled
PHPUnit Tests / Slack Notifications (push) Has been cancelled
PHPUnit Tests / Failed workflow tasks (push) Has been cancelled
Test Build Processes / Slack Notifications (push) Has been cancelled
Test Build Processes / Failed workflow tasks (push) Has been cancelled
This makes use of the new input added in [59635] that fixes tests on `ubuntu-24` in the 4.7 branch.

Props swissspidy, mukesh27.
See #62808.

git-svn-id: https://develop.svn.wordpress.org/branches/4.7@59649 602fd350-edb4-49c9-b593-d223f7449a82
2025-01-16 20:45:24 +00:00
Jonathan Desrosiers
529ba11c3b Build/Test Tools: Make use of new reusable workflows for 4.7.
This updates the 4.7 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.7 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.7@58638 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:40:41 +00:00
Jonathan Desrosiers
0b93c3bb2b 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.7 branch.
See #55652, #56407, #56528, #54695, #56820, #56816, #56793, #56820, #57572.

git-svn-id: https://develop.svn.wordpress.org/branches/4.7@55529 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-10 16:29:18 +00:00
Jonathan Desrosiers
37350954bb 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.7 branch.
See #56095.

git-svn-id: https://develop.svn.wordpress.org/branches/4.7@53614 602fd350-edb4-49c9-b593-d223f7449a82
2022-06-30 17:17:51 +00:00
Jonathan Desrosiers
d38a681043 Build/Test Tools: Backport GitHub Action and build improvements to the 4.7 branch.
This backports several build and test tool improvements to the 4.7 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,50413,50416,50432,50435,50436,50444,50446,50473,50474,50476,50479,50485,50486,50487,50545,50579,50590] to the 4.7 branch.
See #50401, #51801, #51802, #52548, #52608, #52612, #52624, #52625, #52645, #52653, #52658, #52660, #52667.

git-svn-id: https://develop.svn.wordpress.org/branches/4.7@50636 602fd350-edb4-49c9-b593-d223f7449a82
2021-04-02 15:26:02 +00:00
Jonathan Desrosiers
d8d5de6fda Build/Test Tools: Remove unused test groups from the 4.7 branch.
Follow up to [50310].

See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/4.7@50331 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 21:09:05 +00:00
Jonathan Desrosiers
44d543f94e Build/Test Tools: Restore automated testing in the 4.7 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.7 branch.
See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/4.7@50310 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:41:42 +00:00