|
62 | 62 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
63 | 63 | restore-keys: ${{ runner.os }}-composer-
|
64 | 64 | - name: Update project dependencies
|
65 |
| - run: composer update --no-interaction --no-progress --ansi |
| 65 | + run: | |
| 66 | + composer global require soyuka/pmu |
| 67 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 68 | + composer global link . |
66 | 69 | - run: composer check-dependencies
|
67 | 70 |
|
68 | 71 | php-cs-fixer:
|
@@ -119,7 +122,9 @@ jobs:
|
119 | 122 | restore-keys: ${{ runner.os }}-composer-
|
120 | 123 | - name: Update project dependencies
|
121 | 124 | run: |
|
122 |
| - composer update --no-interaction --no-progress --ansi |
| 125 | + composer global require soyuka/pmu |
| 126 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 127 | + composer global link . |
123 | 128 | - name: Run container lint
|
124 | 129 | run: tests/Fixtures/app/console lint:container
|
125 | 130 |
|
@@ -157,7 +162,9 @@ jobs:
|
157 | 162 | restore-keys: ${{ runner.os }}-composer-
|
158 | 163 | - name: Update project dependencies
|
159 | 164 | run: |
|
160 |
| - composer update --no-interaction --no-progress --ansi |
| 165 | + composer global require soyuka/pmu |
| 166 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 167 | + composer global link . |
161 | 168 | - name: Install PHPUnit
|
162 | 169 | run: vendor/bin/simple-phpunit --version
|
163 | 170 | - name: Cache PHPStan results
|
@@ -217,7 +224,10 @@ jobs:
|
217 | 224 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
218 | 225 | restore-keys: ${{ runner.os }}-composer-
|
219 | 226 | - name: Update project dependencies
|
220 |
| - run: composer update --no-interaction --no-progress --ansi |
| 227 | + run: | |
| 228 | + composer global require soyuka/pmu |
| 229 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 230 | + composer global link . |
221 | 231 | - name: Install PHPUnit
|
222 | 232 | run: vendor/bin/simple-phpunit --version
|
223 | 233 | - name: Clear test app cache
|
@@ -296,7 +306,9 @@ jobs:
|
296 | 306 | ini-values: memory_limit=-1
|
297 | 307 | - name: Run ${{ matrix.component }} install
|
298 | 308 | run: |
|
299 |
| - composer update |
| 309 | + composer global require soyuka/pmu |
| 310 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 311 | + composer global link . --permanent |
300 | 312 | composer ${{matrix.component}} update
|
301 | 313 | - name: PHP version tweaks
|
302 | 314 | if: matrix.component == 'api-platform/metadata' && matrix.php != '8.1'
|
@@ -371,7 +383,10 @@ jobs:
|
371 | 383 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
372 | 384 | restore-keys: ${{ runner.os }}-composer-
|
373 | 385 | - name: Update project dependencies
|
374 |
| - run: composer update --no-interaction --no-progress --ansi |
| 386 | + run: | |
| 387 | + composer global require soyuka/pmu |
| 388 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 389 | + composer global link . |
375 | 390 | - name: Install PHPUnit
|
376 | 391 | run: vendor/bin/simple-phpunit --version
|
377 | 392 | - name: Clear test app cache
|
@@ -474,7 +489,10 @@ jobs:
|
474 | 489 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
475 | 490 | restore-keys: ${{ runner.os }}-composer-
|
476 | 491 | - name: Update project dependencies
|
477 |
| - run: composer update --no-interaction --no-progress --ansi |
| 492 | + run: | |
| 493 | + composer global require soyuka/pmu |
| 494 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 495 | + composer global link . |
478 | 496 | - name: Install PHPUnit
|
479 | 497 | run: vendor/bin/simple-phpunit --version
|
480 | 498 | - name: Clear test app cache
|
@@ -524,7 +542,10 @@ jobs:
|
524 | 542 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
525 | 543 | restore-keys: ${{ runner.os }}-composer-
|
526 | 544 | - name: Update project dependencies
|
527 |
| - run: composer update --no-interaction --no-progress --ansi |
| 545 | + run: | |
| 546 | + composer global require soyuka/pmu |
| 547 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 548 | + composer global link . |
528 | 549 | - name: Install PHPUnit
|
529 | 550 | run: vendor/bin/simple-phpunit --version
|
530 | 551 | - name: Clear test app cache
|
@@ -577,7 +598,9 @@ jobs:
|
577 | 598 | restore-keys: ${{ runner.os }}-composer-
|
578 | 599 | - name: Update project dependencies
|
579 | 600 | run: |
|
580 |
| - composer update --no-interaction --no-progress --ansi |
| 601 | + composer global require soyuka/pmu |
| 602 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 603 | + composer global link . --permanent |
581 | 604 | composer require --dev doctrine/mongodb-odm-bundle
|
582 | 605 | - name: Install PHPUnit
|
583 | 606 | run: vendor/bin/simple-phpunit --version
|
@@ -669,7 +692,10 @@ jobs:
|
669 | 692 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
670 | 693 | restore-keys: ${{ runner.os }}-composer-
|
671 | 694 | - name: Update project dependencies
|
672 |
| - run: composer update --no-interaction --no-progress --ansi |
| 695 | + run: | |
| 696 | + composer global require soyuka/pmu |
| 697 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 698 | + composer global link . |
673 | 699 | - name: Install PHPUnit
|
674 | 700 | run: vendor/bin/simple-phpunit --version
|
675 | 701 | - name: Clear test app cache
|
@@ -754,7 +780,10 @@ jobs:
|
754 | 780 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
755 | 781 | restore-keys: ${{ runner.os }}-composer-
|
756 | 782 | - name: Update project dependencies
|
757 |
| - run: composer update --no-interaction --no-progress --ansi |
| 783 | + run: | |
| 784 | + composer global require soyuka/pmu |
| 785 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 786 | + composer global link . |
758 | 787 | - name: Install PHPUnit
|
759 | 788 | run: vendor/bin/simple-phpunit --version
|
760 | 789 | - name: Clear test app cache
|
@@ -804,7 +833,11 @@ jobs:
|
804 | 833 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
805 | 834 | restore-keys: ${{ runner.os }}-composer-
|
806 | 835 | - name: Update project dependencies
|
807 |
| - run: composer update --prefer-lowest --no-interaction --no-progress --ansi |
| 836 | + run: | |
| 837 | + composer global require soyuka/pmu |
| 838 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 839 | + composer global link . --permanent |
| 840 | + composer update --prefer-lowest |
808 | 841 | - name: Clear test app cache
|
809 | 842 | run: tests/Fixtures/app/console cache:clear --ansi
|
810 | 843 | - name: Run Behat tests
|
@@ -840,7 +873,10 @@ jobs:
|
840 | 873 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
841 | 874 | restore-keys: ${{ runner.os }}-composer-
|
842 | 875 | - name: Update project dependencies
|
843 |
| - run: composer update --no-interaction --no-progress --ansi |
| 876 | + run: | |
| 877 | + composer global require soyuka/pmu |
| 878 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 879 | + composer global link . |
844 | 880 | - name: Install PHPUnit
|
845 | 881 | run: vendor/bin/simple-phpunit --version
|
846 | 882 | - name: Clear test app cache
|
@@ -882,7 +918,10 @@ jobs:
|
882 | 918 | - name: Remove cache
|
883 | 919 | run: rm -Rf tests/Fixtures/app/var/cache/*
|
884 | 920 | - name: Update project dependencies
|
885 |
| - run: composer update --no-interaction --no-progress --ansi |
| 921 | + run: | |
| 922 | + composer global require soyuka/pmu |
| 923 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 924 | + composer global link . |
886 | 925 | - name: Install PHPUnit
|
887 | 926 | run: vendor/bin/simple-phpunit --version
|
888 | 927 | - name: Clear test app cache
|
@@ -927,7 +966,10 @@ jobs:
|
927 | 966 | - name: Remove cache
|
928 | 967 | run: rm -Rf tests/Fixtures/app/var/cache/*
|
929 | 968 | - name: Update project dependencies
|
930 |
| - run: composer update --no-interaction --no-progress --ansi |
| 969 | + run: | |
| 970 | + composer global require soyuka/pmu |
| 971 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 972 | + composer global link . |
931 | 973 | - name: Install PHPUnit
|
932 | 974 | run: vendor/bin/simple-phpunit --version
|
933 | 975 | - name: Clear test app cache
|
@@ -976,8 +1018,17 @@ jobs:
|
976 | 1018 | path: ${{ steps.composercache.outputs.dir }}
|
977 | 1019 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
978 | 1020 | restore-keys: ${{ runner.os }}-composer-
|
| 1021 | + - name: Keep windows path |
| 1022 | + id: get-cwd |
| 1023 | + run: | |
| 1024 | + cwd=$(php -r 'echo(str_replace("\\", "\\\\", $_SERVER["argv"][1]));' '${{ github.workspace }}') |
| 1025 | + echo cwd=$cwd >> $GITHUB_OUTPUT |
| 1026 | + shell: bash |
979 | 1027 | - name: Update project dependencies
|
980 |
| - run: composer update --no-interaction --no-progress --ansi |
| 1028 | + run: | |
| 1029 | + composer global require soyuka/pmu |
| 1030 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 1031 | + composer global link . --working-directory='${{ steps.get-cwd.outputs.cwd }}' |
981 | 1032 | - name: Install phpunit
|
982 | 1033 | run: vendor/bin/simple-phpunit --version
|
983 | 1034 | - name: Clear test app cache
|
@@ -1028,8 +1079,17 @@ jobs:
|
1028 | 1079 | path: ${{ steps.composercache.outputs.dir }}
|
1029 | 1080 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
1030 | 1081 | restore-keys: ${{ runner.os }}-composer-
|
| 1082 | + - name: Keep windows path |
| 1083 | + id: get-cwd |
| 1084 | + run: | |
| 1085 | + cwd=$(php -r 'echo(str_replace("\\", "\\\\", $_SERVER["argv"][1]));' '${{ github.workspace }}') |
| 1086 | + echo cwd=$cwd >> $GITHUB_OUTPUT |
| 1087 | + shell: bash |
1031 | 1088 | - name: Update project dependencies
|
1032 |
| - run: composer update --no-interaction --no-progress --ansi |
| 1089 | + run: | |
| 1090 | + composer global require soyuka/pmu |
| 1091 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 1092 | + composer global link . --working-directory='${{ steps.get-cwd.outputs.cwd }}' |
1033 | 1093 | - name: Install phpunit
|
1034 | 1094 | run: vendor/bin/simple-phpunit --version
|
1035 | 1095 | - name: Clear test app cache
|
@@ -1069,7 +1129,11 @@ jobs:
|
1069 | 1129 | - name: Remove cache
|
1070 | 1130 | run: rm -Rf tests/Fixtures/app/var/cache/*
|
1071 | 1131 | - name: Update project dependencies
|
1072 |
| - run: composer update --prefer-lowest --no-interaction --no-progress --ansi |
| 1132 | + run: | |
| 1133 | + composer global require soyuka/pmu |
| 1134 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 1135 | + composer global link . --permanent |
| 1136 | + composer update --prefer-lowest |
1073 | 1137 | - name: Install PHPUnit
|
1074 | 1138 | run: vendor/bin/simple-phpunit --version
|
1075 | 1139 | - name: Clear test app cache
|
@@ -1113,7 +1177,11 @@ jobs:
|
1113 | 1177 | - name: Remove cache
|
1114 | 1178 | run: rm -Rf tests/Fixtures/app/var/cache/*
|
1115 | 1179 | - name: Update project dependencies
|
1116 |
| - run: composer update --prefer-lowest --no-interaction --no-progress --ansi |
| 1180 | + run: | |
| 1181 | + composer global require soyuka/pmu |
| 1182 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 1183 | + composer global link . --permanent |
| 1184 | + composer update --prefer-lowest |
1117 | 1185 | - name: Clear test app cache
|
1118 | 1186 | run: tests/Fixtures/app/console cache:clear --ansi
|
1119 | 1187 | - name: Run Behat tests
|
@@ -1157,7 +1225,10 @@ jobs:
|
1157 | 1225 | if: matrix.coverage
|
1158 | 1226 | run: echo "COVERAGE=1" >> $GITHUB_ENV
|
1159 | 1227 | - name: Update project dependencies
|
1160 |
| - run: composer update --no-interaction --no-progress --ansi |
| 1228 | + run: | |
| 1229 | + composer global require soyuka/pmu |
| 1230 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 1231 | + composer global link . |
1161 | 1232 | - name: Install PHPUnit
|
1162 | 1233 | run: vendor/bin/simple-phpunit --version
|
1163 | 1234 | - name: Clear test app cache
|
@@ -1230,7 +1301,10 @@ jobs:
|
1230 | 1301 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
1231 | 1302 | restore-keys: ${{ runner.os }}-composer-
|
1232 | 1303 | - name: Update project dependencies
|
1233 |
| - run: composer update --no-interaction --no-progress --ansi |
| 1304 | + run: | |
| 1305 | + composer global require soyuka/pmu |
| 1306 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 1307 | + composer global link . |
1234 | 1308 | - name: Install PHPUnit
|
1235 | 1309 | run: vendor/bin/simple-phpunit --version
|
1236 | 1310 | - name: Clear test app cache
|
@@ -1299,7 +1373,10 @@ jobs:
|
1299 | 1373 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
1300 | 1374 | restore-keys: ${{ runner.os }}-composer-
|
1301 | 1375 | - name: Update project dependencies
|
1302 |
| - run: composer update --no-interaction --no-progress --ansi |
| 1376 | + run: | |
| 1377 | + composer global require soyuka/pmu |
| 1378 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 1379 | + composer global link . |
1303 | 1380 | - name: Install PHPUnit
|
1304 | 1381 | run: vendor/bin/simple-phpunit --version
|
1305 | 1382 | - name: Clear test app cache
|
@@ -1368,7 +1445,10 @@ jobs:
|
1368 | 1445 | key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
|
1369 | 1446 | restore-keys: ${{ runner.os }}-composer-
|
1370 | 1447 | - name: Update project dependencies
|
1371 |
| - run: composer update --no-interaction --no-progress --ansi |
| 1448 | + run: | |
| 1449 | + composer global require soyuka/pmu |
| 1450 | + composer global config allow-plugins.soyuka/pmu true --no-interaction |
| 1451 | + composer global link . |
1372 | 1452 | - name: Install PHPUnit
|
1373 | 1453 | run: vendor/bin/simple-phpunit --version
|
1374 | 1454 | - name: Clear test app cache
|
|
0 commit comments