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

Playground GitHub Action Improvement #166

Open
kafleg opened this issue Apr 24, 2024 · 5 comments
Open

Playground GitHub Action Improvement #166

kafleg opened this issue Apr 24, 2024 · 5 comments

Comments

@kafleg
Copy link
Member

kafleg commented Apr 24, 2024

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,

Thank you

@carolinan
Copy link
Collaborator

I believe this is blocked by WordPress/theme-test-data#82

@flexseth
Copy link

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,

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"
		}
	]
}

@carolinan
Copy link
Collaborator

carolinan commented Apr 25, 2024

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.

@flexseth
Copy link

@carolinan
Copy link
Collaborator

Thank you.

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

No branches or pull requests

3 participants