Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call wp-cli directly into an existent container #2944

Merged
merged 6 commits into from
Aug 12, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
some other few tests-cli calls
  • Loading branch information
felipeelia committed Aug 12, 2022
commit 2483637f125514368454947ee33967da097b32db
4 changes: 2 additions & 2 deletions .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@ jobs:
if: always()
run: |
PLUGIN_NAME=$(basename "$PWD")
npm run env run tests-cli "wp plugin activate ${PLUGIN_NAME} --network"
npm run env run tests-cli "wp elasticpress-tests delete-all-indices"
./bin/wp-env-cli tests-wordpress "wp --allow-root plugin activate ${PLUGIN_NAME} --network"
./bin/wp-env-cli tests-wordpress "wp --allow-root elasticpress-tests delete-all-indices"
2 changes: 1 addition & 1 deletion bin/setup-cypress-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ fi

# Generate a SQL file that can be imported later to make things faster
SQL_FILENAME=./bin/$(date +'%F-%H-%M').sql
./bin/wp-env-cli tests-wordpress tests-cli "wp db export -" > $SQL_FILENAME
./bin/wp-env-cli tests-wordpress "wp --allow-root db export -" > $SQL_FILENAME

exit 0