Replace wp-env with Docker Compose#55
Merged
rkoopmans merged 26 commits intotinify:masterfrom Jun 10, 2025
Merged
Conversation
rkoopmans
approved these changes
Jun 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaced wp-env with docker compose, which will resolve the issues with failing integration tests. This change allows more control over the CI workflow, improved stability while running and faster tests (from 8 minutes to 3 minutes on average).
Description
Recently the integration test builds started failing.
The build was using an outdated apt cache which caused a mismatch between metadata. As we have no control of the build of wp-env I was unable to fix this. Besides this point it was also a flaky and slow which was not helping the preference of wp-env. Not being able to control the exact configuration was holding us back from making changes faster. Therefor going back to a docker compose will be better for now. Maybe once wp-env will be more mature we can move back to it.
Changes