Skip to content

Add testedWith key to the Blueprint schema #2917

@adamziel

Description

@adamziel

Choosing WordPress and PHP version for a plugin demo is tricky. On one hand, you want to use the latest versions so that your demo auto-updates with the WordPress and PHP release cycle. On the other, the new version may not play well with the plugin.

Let's solve that at the Blueprint schema level by introducing a testedWith key:

{
	"preferredVersions": {
		"php": "8.2",
		"wp": "latest"
	},
	"testedWith": {
		"php": "8.0",
		"wp": "6.7"
	},
	"steps": [
		// ...
	]
}

In this scenario, Playground would try to run the Blueprint with the latest WordPress and PHP 8.2. If that fails, it would fall back to WordPress 6.7 and PHP 8.0, since that combination is known to work well.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions