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:
182
182
- name : " Install dependencies"
183
183
run : " composer install --no-interaction --no-progress"
184
184
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
+
185
189
- name : " Transform source code"
186
190
shell : bash
187
191
run : |
@@ -190,4 +194,4 @@ jobs:
190
194
composer dump
191
195
192
196
- name : " Tests"
193
- run : " make tests-coverage "
197
+ run : " make tests"
Original file line number Diff line number Diff line change 2
2
3
3
build : cs tests phpstan
4
4
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
7
7
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
16
10
17
11
tests-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
19
13
20
14
lint :
21
15
XDEBUG_MODE=off php vendor/bin/parallel-lint --colors \
@@ -113,6 +107,9 @@ lint:
113
107
--exclude tests/PHPStan/Rules/Playground/data/promote-missing-override.php \
114
108
src tests
115
109
110
+ install-paratest :
111
+ composer install --working-dir tests
112
+
116
113
cs :
117
114
composer install --working-dir build-cs && XDEBUG_MODE=off php build-cs/vendor/bin/phpcs
118
115
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