mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 01:11:28 +02:00
Possible fix for xdebug.
This commit is contained in:
6
.github/workflows/test-unit.yml
vendored
6
.github/workflows/test-unit.yml
vendored
@@ -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' ]
|
||||
|
Reference in New Issue
Block a user