File tree Expand file tree Collapse file tree 5 files changed +2658
-12
lines changed
Expand file tree Collapse file tree 5 files changed +2658
-12
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,10 @@ jobs:
182182 - name : " Install dependencies"
183183 run : " composer install --no-interaction --no-progress"
184184
185+ - name : " Downgrade PHPUnit with Paratest"
186+ shell : bash
187+ run : " composer require --dev phpunit/phpunit:^9.6 brianium/paratest:^6.5 --update-with-dependencies --ignore-platform-reqs --working-dir=tests"
188+
185189 - name : " Transform source code"
186190 shell : bash
187191 run : |
@@ -190,4 +194,4 @@ jobs:
190194 composer dump
191195
192196 - name : " Tests"
193- run : " make tests-coverage "
197+ run : " make tests"
Original file line number Diff line number Diff line change 22
33build : cs tests phpstan
44
5- tests :
6- XDEBUG_MODE=off php vendor/bin/paratest --runner WrapperRunner --no-coverage
5+ tests : install-paratest
6+ XDEBUG_MODE=off php tests/ vendor/bin/paratest --runner WrapperRunner --no-coverage
77
8- tests-integration :
9- php vendor/bin/paratest --runner WrapperRunner --no-coverage --group exec
10-
11- tests-levels :
12- php vendor/bin/paratest --runner WrapperRunner --no-coverage --group levels
13-
14- tests-coverage :
15- php vendor/bin/paratest --runner WrapperRunner
8+ tests-integration : install-paratest
9+ php tests/vendor/bin/paratest --runner WrapperRunner --no-coverage --group exec
1610
1711tests-golden-reflection :
18- php vendor/bin/paratest --runner WrapperRunner --no-coverage tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php
12+ php vendor/bin/phpunit tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php
1913
2014lint :
2115 XDEBUG_MODE=off php vendor/bin/parallel-lint --colors \
@@ -113,6 +107,9 @@ lint:
113107 --exclude tests/PHPStan/Rules/Playground/data/promote-missing-override.php \
114108 src tests
115109
110+ install-paratest :
111+ composer install --working-dir tests
112+
116113cs :
117114 composer install --working-dir build-cs && XDEBUG_MODE=off php build-cs/vendor/bin/phpcs
118115
Original file line number Diff line number Diff line change 1+ /vendor
Original file line number Diff line number Diff line change 1+ {
2+ "require-dev" : {
3+ "phpunit/phpunit" : " ^10.5" ,
4+ "brianium/paratest" : " ~7.3.0"
5+ },
6+ "config" : {
7+ "platform" : {
8+ "php" : " 8.1.99"
9+ }
10+ }
11+ }
You can’t perform that action at this time.
0 commit comments