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

Get Playground on https://make.wordpress.org/hosting/test-results/ #1135

Open
1 of 4 tasks
adamziel opened this issue Mar 23, 2024 · 0 comments
Open
1 of 4 tasks

Get Playground on https://make.wordpress.org/hosting/test-results/ #1135

adamziel opened this issue Mar 23, 2024 · 0 comments
Labels
[Type] Enhancement New feature or request [Type] Reliability Playground uptime, reliability, not crashing

Comments

@adamziel
Copy link
Collaborator

Let's get Playground test results on https://make.wordpress.org/hosting/test-results/.

Required work:

  • Get most PHPUnit tests to pass in native WordPress with the SQLite database integration plugin. Done here.
  • Get PHPUnit test suite to work in Playground in Node.js, e.g. via wp-now. More context here. I haven't tried for a while, major blockers like proc_open() are now resolved, perhaps it would just work.
  • Ask @javiercasares for access key to report the results
  • Set up a reporting GitHub automation in this repo (and wordpress-develop?) to auto report the results.
    • Scripts available in WordPress/phpunit-test-runner to work with Playground.
    • Phpunit-tests-run.yml runs and reports tests in the current repo, reports env info too
    • prepare.php computes that cintextual env info as an env.json file get_env_file()

Follow-up work

  • Consider setting up an automation in wordpress-develop to report core test results with the SQLite plugin. CC @aristath.
  • Integrate Playground test runner directly on that page so that anyone can trigger a full PHPUnit test run in their browser.

Resources

cc @swissspidy

@adamziel adamziel added [Type] Enhancement New feature or request [Type] Reliability Playground uptime, reliability, not crashing labels Mar 23, 2024
@adamziel adamziel added this to the Zero Crashes milestone Mar 23, 2024
@adamziel adamziel moved this to Future work in Playground Board Jul 1, 2024
@adamziel adamziel removed this from the Zero Crashes milestone Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement New feature or request [Type] Reliability Playground uptime, reliability, not crashing
Projects
None yet
Development

No branches or pull requests

1 participant