Skip to content

Commit c1065e5

Browse files
committed
tests: test PHP < 8 on intel macOS
1 parent c45b0e9 commit c1065e5

File tree

1 file changed

+39
-3
lines changed

1 file changed

+39
-3
lines changed

.github/workflows/test.yaml

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,45 @@ jobs:
55
runs-on: ${{ matrix.operating-system }}
66
strategy:
77
matrix:
8-
operating-system: [ 'macos-13' ]
9-
php-versions: [ '7.4' ]
8+
operating-system: [ 'ubuntu-24.04', 'windows-2025', 'macos-latest' ]
9+
php-versions: [ '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
10+
include:
11+
- operating-system: 'ubuntu-24.04'
12+
php-versions: '5.6'
13+
- operating-system: 'windows-2025'
14+
php-versions: '5.6'
15+
- operating-system: 'macos-13'
16+
php-versions: '5.6'
17+
- operating-system: 'ubuntu-24.04'
18+
php-versions: '7.0'
19+
- operating-system: 'windows-2025'
20+
php-versions: '7.0'
21+
- operating-system: 'macos-13'
22+
php-versions: '7.0'
23+
- operating-system: 'ubuntu-24.04'
24+
php-versions: '7.1'
25+
- operating-system: 'windows-2025'
26+
php-versions: '7.1'
27+
- operating-system: 'macos-13'
28+
php-versions: '7.1'
29+
- operating-system: 'ubuntu-24.04'
30+
php-versions: '7.2'
31+
- operating-system: 'windows-2025'
32+
php-versions: '7.2'
33+
- operating-system: 'macos-13'
34+
php-versions: '7.2'
35+
- operating-system: 'ubuntu-24.04'
36+
php-versions: '7.3'
37+
- operating-system: 'windows-2025'
38+
php-versions: '7.3'
39+
- operating-system: 'macos-13'
40+
php-versions: '7.3'
41+
- operating-system: 'ubuntu-24.04'
42+
php-versions: '7.4'
43+
- operating-system: 'windows-2025'
44+
php-versions: '7.4'
45+
- operating-system: 'macos-13'
46+
php-versions: '7.4'
1047
steps:
1148
- name: Checkout repo
1249
uses: actions/checkout@v4
@@ -37,7 +74,6 @@ jobs:
3774
restore-keys: ${{ runner.os }}-${{ matrix.php-versions }}-composer-
3875

3976
- name: Install Composer dependencies
40-
if: matrix.php-versions != '7.4' || matrix.operating-system != 'macos-latest'
4177
shell: bash
4278
run: composer install --no-progress --prefer-dist --optimize-autoloader
4379

0 commit comments

Comments
 (0)