Playground GitHub Action Improvement
Thank you for adding Playground as GitHub action and that is a great addition for us to test PR for community themes. I would like to add some changes in the current setup,
- Can we add demo content so that while checking the theme, we can see the content as well? https://github.com/WordPress/theme-test-data
- Enable debug mode.
Thank you
I believe this is blocked by https://github.com/WordPress/theme-test-data/issues/82
Thank you for adding Playground as GitHub action and that is a great addition for us to test PR for community themes. I would like to add some changes in the current setup,
- Can we add demo content so that while checking the theme, we can see the content as well? https://github.com/WordPress/theme-test-data
Using the Query API
https://playground.wordpress.net/?php=8.0&wp=6.4&storage=none&networking=yes&import-content=https://raw.githubusercontent.com/WordPress/theme-test-data/master/themeunittestdata.wordpress.xml
Will import the Theme Unit Test data, except the images that are currently blocked per @carolinan's link.
There is work being done to get the images to correctly import.
- Enable debug mode.
You can enable debug mode in Playground using the following syntax in a blueprint.json file
{
"steps": [
{
"step": "defineWpConfigConsts",
"consts": {
"WP_DEBUG": true,
"WP_DEBUG_LOG": true
},
"method": "define-before-run"
}
]
}
There is work being done to get the images to correctly import.
Is there work happening outside the linked issue? I want to know, before I start trying to move the images to GitHub.
@carolinan here is the link:
- https://github.com/WordPress/wordpress-playground/pull/1250
Thank you.