File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,19 @@ _run_task() {
19
19
exit $ok
20
20
}
21
21
export -f _run_task
22
+
23
+ install_property_info_for_version () {
24
+ local php_version=" $1 "
25
+ local min_stability=" $2 "
26
+
27
+ if [ " $php_version " = " 8.2" ]; then
28
+ composer require symfony/property-info:7.1.* symfony/type-info:7.3.*
29
+ elif [ " $php_version " = " 8.3" ]; then
30
+ composer require symfony/property-info:7.2.* symfony/type-info:7.3.*
31
+ elif [ " $php_version " = " 8.4" ] && [ " $min_stability " = " stable" ]; then
32
+ composer require symfony/property-info:7.3.* symfony/type-info:7.3.*
33
+ elif [ " $php_version " = " 8.4" ] && [ " $min_stability " = " dev" ]; then
34
+ composer require symfony/property-info:> =7.3 symfony/type-info:> =7.3
35
+ fi
36
+ }
37
+ export -f install_property_info_for_version
Original file line number Diff line number Diff line change 71
71
run : |
72
72
source .github/workflows/.utils.sh
73
73
74
- echo "$PACKAGES" | xargs -n1 | parallel -j +3 "_run_task {} '(cd src/{} && $COMPOSER_MIN_STAB && $COMPOSER_UP && $PHPUNIT)'"
74
+ echo "$PACKAGES" | xargs -n1 | parallel -j +3 "_run_task {} \
75
+ '(cd src/{} \
76
+ && $COMPOSER_MIN_STAB \
77
+ && $COMPOSER_UP \
78
+ && if [ {} = LiveComponent ]; then install_property_info_for_version \"${{ matrix.php-version }}\" \"${{ matrix.minimum-stability }}\"; fi \
79
+ && $PHPUNIT)'"
75
80
76
81
js :
77
82
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments