Build/Test Tools: Pin specific Importer version.
Some checks are pending
Coding Standards / PHP coding standards (push) Waiting to run
Coding Standards / JavaScript coding standards (push) Waiting to run
Coding Standards / Slack Notifications (push) Blocked by required conditions
Coding Standards / Failed workflow tasks (push) Blocked by required conditions
JavaScript Tests / QUnit Tests (push) Waiting to run
JavaScript Tests / Slack Notifications (push) Blocked by required conditions
JavaScript Tests / Failed workflow tasks (push) Blocked by required conditions
PHPUnit Tests / PHP 5.3 (push) Waiting to run
PHPUnit Tests / PHP 5.4 (push) Waiting to run
PHPUnit Tests / PHP 5.5 (push) Waiting to run
PHPUnit Tests / PHP 5.6 (push) Waiting to run
PHPUnit Tests / PHP 7.0 (push) Waiting to run
PHPUnit Tests / PHP 7.1 (push) Waiting to run
PHPUnit Tests / PHP 7.2 (push) Waiting to run
PHPUnit Tests / PHP 7.3 (push) Waiting to run
PHPUnit Tests / Slack Notifications (push) Blocked by required conditions
PHPUnit Tests / Failed workflow tasks (push) Blocked by required conditions
Test Build Processes / Core running from build (push) Waiting to run
Test Build Processes / Slack Notifications (push) Blocked by required conditions
Test Build Processes / Failed workflow tasks (push) Blocked by required conditions

This pins the last version compatible with WordPress 5.1 to that branch.

Follow up to [59615].
Reviewed by swissspidy.

See #52909.
See #62280.

git-svn-id: https://develop.svn.wordpress.org/branches/5.1@59629 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2025-01-15 16:23:18 +00:00
parent 97fea4e184
commit 3179cb8d7f

View File

@ -55,5 +55,5 @@ function install_wp_importer() {
const testPluginDirectory = 'tests/phpunit/data/plugins/wordpress-importer';
execSync( `docker compose exec -T php rm -rf ${testPluginDirectory}`, { stdio: 'inherit' } );
execSync( `docker compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1`, { stdio: 'inherit' } );
execSync( `docker compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1 --branch 0.7`, { stdio: 'inherit' } );
}