Skip to content

Commit

Permalink
oaergoij
Browse files Browse the repository at this point in the history
  • Loading branch information
tbradsha committed Dec 16, 2024
1 parent 87621aa commit c528e43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ jobs:
if [[ "${SLUG%%/*}" != "plugins" ]]; then
continue;
fi
if [[ $SLUG != "plugins/jetpack" && $SLUG != "plugins/wpcomsh" ]]; then
continue
fi
if [[ "${SLUG%%/*}" != "plugins" && "$WP_BRANCH" != 'latest' && "$WP_BRANCH" != 'none' && "$FORCE_PACKAGE_TESTS" != "true" ]]; then
echo "Skipping $SLUG, only plugins run for WP_BRANCH = $WP_BRANCH"
continue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,15 @@ public function test_install_edit_delete_theme_sync() {
$theme_slug = 'itek';
$theme_name = 'iTek';

error_log(var_export('delete_theme', true));
delete_theme( $theme_slug ); // Ensure theme is not lingering on file system
error_log(var_export('end_delete_theme', true));
$this->server_event_storage->reset();

// Test Install Theme

error_log(var_export('install_theme', true));
$this->install_theme( $theme_slug );
error_log(var_export('end_install_theme', true));
$this->sender->do_sync();

$event_data = $this->server_event_storage->get_most_recent_event( 'jetpack_installed_theme' );
Expand Down

0 comments on commit c528e43

Please sign in to comment.