feat: introduce Pest PHP 5 as parallel testing framework - #483
Conversation
Add Pest PHP 5 alongside PHPUnit. Pest runs on PHP 8.5 in CI, while PHPUnit continues across all 8 supported PHP versions. - Add pestphp/pest:^5.0 as dev dependency - Add pest.php config and phpunit.pest.dist.xml for isolated Pest suite - Add tests/Pest/ExampleTest.php as smoke test - Make PHP 8.5 the default Docker service (php), rename PHP 7.4 to php74 - Add pest CI job (required, PHP 8.5) - Set COMPOSER_IGNORE_PLATFORM_REQ for PHP < 8.4 CI jobs
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pest 5 requires PHP 8.4+, which breaks composer install on older PHP versions. Move pest out of require-dev and install it ad-hoc in CI. - Remove pestphp/pest from require-dev (installed only in pest CI job) - Remove COMPOSER_IGNORE_PLATFORM_REQ from all CI jobs - Add explicit composer require step in pest CI job
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v2.x #483 +/- ##
=========================================
Coverage 98.72% 98.72%
Complexity 783 783
=========================================
Files 29 29
Lines 2275 2275
=========================================
Hits 2246 2246
Misses 29 29 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Add Pest PHP 5 alongside PHPUnit. Pest runs on PHP 8.5 in CI, while PHPUnit continues across all 8 supported PHP versions.