X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fci%2Fsetup%2Fsetup_php.sh;h=11449109cba65708d5657fa5215f5f0a32d756b4;hb=533d1a28e5b22a0508554194d776fbf5b48e0ded;hp=cc72a7f2d6fe02eaf89548f42a8a40deab096384;hpb=239391c98a446647086cb650f95b13184242bfb4;p=plcapi.git diff --git a/tests/ci/setup/setup_php.sh b/tests/ci/setup/setup_php.sh index cc72a7f..1144910 100755 --- a/tests/ci/setup/setup_php.sh +++ b/tests/ci/setup/setup_php.sh @@ -37,6 +37,9 @@ if [ "${PHP_VERSION}" = default ]; then php${PHPSUFFIX}-mbstring \ php${PHPSUFFIX}-xdebug else + # on GHA runners ubuntu version, php 7.4 and 8.0 seem to be preinstalled. remove them if found + + DEBIAN_FRONTEND=noninteractive apt-get install -y language-pack-en-base software-properties-common LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php apt-get update