mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Tests: Pin Xdebug 3.1.6 for PHP 7.2 through PHP 7.4
Xdebug 3.2.0 and newer dropped support for PHP 7.2 through PHP 7.4. Source: https://bugs.xdebug.org/bug_view_page.php?bug_id=00002014
This commit is contained in:
5
.github/workflows/test-unit.yml
vendored
5
.github/workflows/test-unit.yml
vendored
@@ -91,9 +91,12 @@ jobs:
|
||||
|
||||
- name: PECL install xdebug
|
||||
run: |
|
||||
if [ $(php -r 'printf(version_compare(PHP_VERSION, "7.2.0", ">=") ? 1 : 0);') = '1' ]
|
||||
if [ $(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' ]
|
||||
then
|
||||
pecl install xdebug-3.1.6
|
||||
elif [ $(php -r 'printf(version_compare(PHP_VERSION, "7.1.0", ">=") ? 1 : 0);') = '1' ]
|
||||
then
|
||||
pecl install xdebug-2.9.8
|
||||
|
Reference in New Issue
Block a user