Skip to content

feat: introduce Pest PHP 5 as parallel testing framework - #483

Draft
Art4 wants to merge 6 commits into
v2.xfrom
introduce-pest-php
Draft

feat: introduce Pest PHP 5 as parallel testing framework#483
Art4 wants to merge 6 commits into
v2.xfrom
introduce-pest-php

Conversation

@Art4

@Art4 Art4 commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

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

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
@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 2956f512-f2f0-40bb-95cc-5b3cd3be4fb0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Art4 Art4 added this to the v2.10.0 milestone Jul 29, 2026
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

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.72%. Comparing base (ab0c715) to head (d7768c4).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant