From b62698081b1274c9b253478c9529c86d1210767e Mon Sep 17 00:00:00 2001 From: tbradsha <32492176+tbradsha@users.noreply.github.com> Date: Fri, 13 Dec 2024 16:44:22 -0700 Subject: [PATCH] asdasgasdgasdg --- .github/files/generate-ci-matrix.php | 36 +++++++++---------- .../plugins/jetpack/tests/php/bootstrap.php | 3 ++ 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/.github/files/generate-ci-matrix.php b/.github/files/generate-ci-matrix.php index 36c55208e870f..2eb7e111475f3 100755 --- a/.github/files/generate-ci-matrix.php +++ b/.github/files/generate-ci-matrix.php @@ -60,15 +60,15 @@ // Add PHP tests. // foreach ( array( '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ) as $php ) { -foreach ( array( '8.2' ) as $php ) { - $matrix[] = array( - 'name' => "PHP tests: PHP $php WP latest", - 'script' => 'test-php', - 'php' => $php, - 'wp' => 'latest', - 'timeout' => 20, // 2024-11-12: Successful runs seem to take up to ~7 minutes. - ); -} +// foreach ( array( '8.2' ) as $php ) { +// $matrix[] = array( +// 'name' => "PHP tests: PHP $php WP latest", +// 'script' => 'test-php', +// 'php' => $php, +// 'wp' => 'latest', +// 'timeout' => 20, // 2024-11-12: Successful runs seem to take up to ~7 minutes. +// ); +// } // foreach ( array( 'previous', 'trunk' ) as $wp ) { // $phpver = $versions['PHP_VERSION']; @@ -91,15 +91,15 @@ // 'with-woocommerce' => true, // ); -// // Add wpcomsh tests. -// $matrix[] = array( -// 'name' => 'PHP tests: PHP 8.1 WP latest with wpcomsh', -// 'script' => 'test-php', -// 'php' => '8.1', -// 'wp' => 'latest', -// 'timeout' => 20, -// 'with-wpcomsh' => true, -// ); +// Add wpcomsh tests. +$matrix[] = array( + 'name' => 'PHP tests: PHP 8.1 WP latest with wpcomsh', + 'script' => 'test-php', + 'php' => '8.1', + 'wp' => 'latest', + 'timeout' => 20, + 'with-wpcomsh' => true, +); // // Add JS tests. // $matrix[] = array( diff --git a/projects/plugins/jetpack/tests/php/bootstrap.php b/projects/plugins/jetpack/tests/php/bootstrap.php index 2411078bd727a..268299e37df70 100644 --- a/projects/plugins/jetpack/tests/php/bootstrap.php +++ b/projects/plugins/jetpack/tests/php/bootstrap.php @@ -145,6 +145,9 @@ function _manually_load_muplugin() { if ( ! is_dir( WPCOMSH_PREMIUM_THEMES_PATH ) ) { mkdir( WPCOMSH_PREMIUM_THEMES_PATH, 0777 ); } + echo 'WPCOMSH_PREMIUM_THEMES_PATH'; + echo WPCOMSH_PREMIUM_THEMES_PATH; + var_dump( scandir( WPCOMSH_PREMIUM_THEMES_PATH ) ); } // If we are running the uninstall tests don't load jetpack.