-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
feature/test-runnerCLI test runnerCLI test runnertype/enhancementA new idea that should be implementedA new idea that should be implemented
Description
running php vendor/bin/phpunit --group levels --list-tests on the PHPStan-src codebase returns the same list of tests, as when not using --group levels: php vendor/bin/phpunit --list-tests
I would expect --group levels to apply the same filtering as then running phpunit itself with --group levels.
$ vendor/bin/phpunit --version
PHPUnit 9.5.23 #StandWithUkraine
$ php -v
PHP 8.2.12 (cli) (built: Oct 24 2023 21:15:35) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.2.12, Copyright (c) Zend Technologies
what I want to achieve: I want to use phpunit test filtering capabilities to separate the huge PHPStan test-suite into groups which I can run in parallel in GitHub Actions. running it in several parallel GitHub Action jobs has the benefit of utilizing more CPUs and therefore a faster feedback loop
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature/test-runnerCLI test runnerCLI test runnertype/enhancementA new idea that should be implementedA new idea that should be implemented