From 37eb2fd373caf48931bc19a7f1f7e586e6756e60 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Tue, 26 Jul 2022 10:29:55 +1200 Subject: [PATCH] FIX Disable xdebug extension if not running phpcoverage --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36f9563..cb04385 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -182,7 +182,7 @@ jobs: # Disable xdebug which greatly slow down unit testing # Note: omitting xdebug from shivammathur/setup-php still results in xdebug being installed and enabled - if [[ "${{ matrix.phpcoverage }}" == "true" ]]; then + if [[ "${{ matrix.phpcoverage }}" != "true" ]]; then sudo sh -c "echo ';zend_extension=xdebug.so' > /etc/php/${{ matrix.php }}/mods-available/xdebug.ini" fi echo "PHP has been configured"