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

Conversation

felipeelia
Copy link
Member

Description of the Change

Currently, out-of-the-box wp-env spins up and destroys a container every time a wp-cli command is called. This PR installs wp-cli in the WordPress container, calling it there instead of in a new container. Hopefully, that will speed up e2e tests execution.

Changelog Entry

Changed - E2e tests to run wp-cli commands in an existent docker container.

Credits

Props @felipeelia

@felipeelia felipeelia added this to the 4.3.0 milestone Aug 12, 2022
@felipeelia felipeelia self-assigned this Aug 12, 2022
@felipeelia felipeelia merged commit b2e6da9 into develop Aug 12, 2022
@felipeelia felipeelia deleted the tests/wp-env-cli branch August 12, 2022 17:38
@felipeelia felipeelia mentioned this pull request Aug 12, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant