Status: Draft (The final form of this may move to a blog post or a full repo.)
This describes how to set up the repos for WordPress/wordpress-develop
, WordPress/gutenberg
, and WordPress/performance
in one single place all using their own built-in environments (in Docker). Importantly, the latter two repos (for plugins) are configured to use the core files from the repos for both their development
and tests
environments.
Benefits:
- WordPress core files are shared across all environments, including when running unit tests. So if you run PHPUnit tests for Gutenberg or Performance Lab, any core changes you've made will be reflected. This resolves a big painpoint with trying out core patches in plugin unit tests.
- Plugins, mu-plugins, and themes and are shared across all environments, although you can add additional environment-specific extensions in your `.wp-e