mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 20:56:47 +00:00
[ubuntu] Clean way to disable the pcov PHP Extension (#3472)
* Clean way to disable the pcov PHP Extension Fixes https://github.com/actions/virtual-environments/issues/3341 * Update php.sh * Update php.sh * Documentation
This commit is contained in:
@@ -80,7 +80,8 @@ for version in $php_versions; do
|
||||
apt-fast install -y --no-install-recommends php$version-pcov
|
||||
|
||||
# Disable PCOV, as Xdebug is enabled by default
|
||||
echo "" | sudo tee /etc/php/$version/mods-available/pcov.ini
|
||||
# https://github.com/krakjoe/pcov#interoperability
|
||||
phpdismod -v $version pcov
|
||||
fi
|
||||
|
||||
if [[ $version = "7.0" || $version = "7.1" ]]; then
|
||||
@@ -117,4 +118,4 @@ if isUbuntu20 ; then
|
||||
apt-get update
|
||||
fi
|
||||
|
||||
invoke_tests "Common" "PHP"
|
||||
invoke_tests "Common" "PHP"
|
||||
|
||||
Reference in New Issue
Block a user