Skip to content

Commit

Permalink
asdasgasdgasdg
Browse files Browse the repository at this point in the history
  • Loading branch information
tbradsha committed Dec 13, 2024
1 parent da5a8ee commit b626980
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/files/generate-ci-matrix.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand All @@ -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(
Expand Down
3 changes: 3 additions & 0 deletions projects/plugins/jetpack/tests/php/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b626980

Please sign in to comment.