From 8bf7df5ce76c993ffe3612a92c00ca38f52481d7 Mon Sep 17 00:00:00 2001 From: camer0n Date: Tue, 28 Nov 2023 16:21:19 -0800 Subject: [PATCH] Possible fix for xdebug. --- .github/workflows/test-unit.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 1d22b0056..7ee34c1fc 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -19,6 +19,7 @@ jobs: - image: php:7.4 - image: php:8.1 - image: php:8.2 + - image: php:8.3 db: - image: mysql:5.5 - image: bitnami/mysql:8.0 @@ -87,7 +88,10 @@ jobs: - name: PECL install xdebug run: | - if [ $(php -r 'printf(version_compare(PHP_VERSION, "8.0.0", ">=") ? 1 : 0);') = '1' ] + if [ $(php -r 'printf(version_compare(PHP_VERSION, "8.2.99", ">=") ? 1 : 0);') = '1' ] + then + pecl install https://xdebug.org/files/xdebug-3.3.0alpha3.tgz + elif [ $(php -r 'printf(version_compare(PHP_VERSION, "8.0.0", ">=") ? 1 : 0);') = '1' ] then pecl install xdebug elif [ $(php -r 'printf(version_compare(PHP_VERSION, "7.2.0", ">=") ? 1 : 0);') = '1' ]