Skip to content

Commit

Permalink
Was it just lack of output?
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeelia committed Jan 13, 2025
1 parent 1ab9e83 commit b878224
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,5 @@ jobs:
- name: Delete Elasticsearch indices
if: always()
run: |
./bin/wp-env-cli tests-wordpress "wp --allow-root plugin activate elasticpress elasticpress-labs"
./bin/wp-env-cli tests-wordpress "wp --allow-root elasticpress-tests delete-all-indices"
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,7 @@ function ep_tests_delete_all_indices() {

\ElasticPress\Elasticsearch::factory()->delete_index( $index['index'] );
}

WP_CLI::success( 'Done.' );
}
WP_CLI::add_command( 'elasticpress-tests delete-all-indices', 'ep_tests_delete_all_indices' );

0 comments on commit b878224

Please sign in to comment.