★ Running PHP tests in parallel on GitHub actions

· Freek Van der Herten · April 22, 2025, 3:02 p.m.
Summary
This blog post discusses how to run PHPUnit/Pest tests in parallel on GitHub Actions, detailing a method to split test suites into smaller parts for improved performance. It shares practical examples from the author's company, Oh Dear, where the running time of their test suite was reduced from 16 minutes to just 4 minutes using this approach. The article explains the technical steps required to set up parallel testing, manage GitHub Actions workflow, and effectively handle dependencies, providing a valuable resource for developers looking to optimize their testing processes.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →