4 Commits

Author SHA1 Message Date
Jonathan Desrosiers
347f07b593 Build/Test Tools: Use Git when fetching the WordPress Importer for use in tests.
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 switches to using Git in the local Docker environment install script to check out a copy of the WordPress Importer plugin for use in unit tests.

Previously, SVN was used and the commands were not correctly run within the Docker container. The container does not actually have SVN installed, and the script was only working when the machine running the command had SVN present.

Merges [51179] to the 4.8 branch.
Reviewed by swissspidy.

Props czapla, alexstine, jnylen0, francina, desrosj.
See #52909.
See #62280.

git-svn-id: https://develop.svn.wordpress.org/branches/4.8@59626 602fd350-edb4-49c9-b593-d223f7449a82
2025-01-15 16:19:23 +00:00
Jonathan Desrosiers
ad20852640 Build/Test Tools: Make use of new reusable workflows for 4.8.
This updates the 4.8 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.8 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.8@58637 602fd350-edb4-49c9-b593-d223f7449a82
2024-07-03 14:35:03 +00:00
Jonathan Desrosiers
18c397c555 Build/Test Tools: Restore automated testing in the 4.8 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.8 branch.
See #50401.

git-svn-id: https://develop.svn.wordpress.org/branches/4.8@50309 602fd350-edb4-49c9-b593-d223f7449a82
2021-02-12 19:34:39 +00:00
Jonathan Desrosiers
2006ef8c83 Build/Test Tools: Backport the local Docker environment to the 4.8 branch.
This commit introduces the Docker-based local WordPress development environment to the 4.8 branch and converts the Travis test jobs to utilize this environment for easier and more consistent testing.

Until existing blockers with the PHP 5.2 Docker container can be solved, the PHP 5.2 test job will remain using the Travis precise image.

Merges [45745,45762,45783-45784,45800,45819,45885,46320,46999,47225,47912,48121,49335,49358,49360,49362] to the 4.8 branch.
See #48301, #47767.

git-svn-id: https://develop.svn.wordpress.org/branches/4.8@49531 602fd350-edb4-49c9-b593-d223f7449a82
2020-11-06 17:34:44 +00:00