phpunit-slow-test-detector icon indicating copy to clipboard operation
phpunit-slow-test-detector copied to clipboard

Show GHA warnings for slow tests when GHA is detected

Open mvorisek opened this issue 3 months ago • 2 comments

inspired by https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9025#issuecomment-3257836969

Example of GHA warning on PR:

Image

Currently, the output can be overseen on PRs, this is a feature request to format the slow tests as GHA warnings for corresponding methods when GHA is detected.

mvorisek avatar Sep 05 '25 10:09 mvorisek

Annotating test methods (or data providers' cases) is nice to have, but outputting basic warning that would be displayed in the workflow's summary is good enough to start with.

Wirone avatar Sep 05 '25 10:09 Wirone

Inspiration can be taken from https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/9025#issuecomment-3277245388.

mvorisek avatar Sep 12 '25 07:09 mvorisek