mirror of
https://github.com/e107inc/e107.git
synced 2025-07-27 01:40:22 +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:7.4
|
||||||
- image: php:8.1
|
- image: php:8.1
|
||||||
- image: php:8.2
|
- image: php:8.2
|
||||||
|
- image: php:8.3
|
||||||
db:
|
db:
|
||||||
- image: mysql:5.5
|
- image: mysql:5.5
|
||||||
- image: bitnami/mysql:8.0
|
- image: bitnami/mysql:8.0
|
||||||
@@ -87,7 +88,10 @@ jobs:
|
|||||||
|
|
||||||
- name: PECL install xdebug
|
- name: PECL install xdebug
|
||||||
run: |
|
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
|
then
|
||||||
pecl install xdebug
|
pecl install xdebug
|
||||||
elif [ $(php -r 'printf(version_compare(PHP_VERSION, "7.2.0", ">=") ? 1 : 0);') = '1' ]
|
elif [ $(php -r 'printf(version_compare(PHP_VERSION, "7.2.0", ">=") ? 1 : 0);') = '1' ]
|
||||||
|
Reference in New Issue
Block a user