Skip to content

Commit 1fcf37f

Browse files
committed
GH Actions/quicktest: fiddle the PHP versions
Installing on PHP 5.4 with Composer on Windows runs into issues a lot of time. Considering PHP 5.4 is ancient, let's just side-step this problem by using PHP 5.5. Also see PHPCSStandards/composer-installer 213 for a little more context (yes, I've seen this issue before).
1 parent 0194e46 commit 1fcf37f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/quicktest.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,18 @@ jobs:
2828
strategy:
2929
matrix:
3030
os: ['ubuntu-latest', 'windows-latest']
31-
php: ['5.4', '7.2', 'latest']
31+
php: ['7.2', 'latest']
32+
33+
include:
34+
- php: '5.4'
35+
os: 'ubuntu-latest'
36+
custom_ini: false
37+
# Installing on Windows with PHP 5.4 runs into all sorts of problems with Composer.
38+
# See this issue for more context (yes, I've seen this problem before):
39+
# @link https://github.com/PHPCSStandards/composer-installer/pull/213
40+
- php: '5.5'
41+
os: 'windows-latest'
42+
custom_ini: false
3243

3344
name: "QuickTest: PHP ${{ matrix.php }} (${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Win' }})"
3445

0 commit comments

Comments
 (0)