Skip to content

Commit 08dfe87

Browse files
committed
Add matrix for CI on multiple PHP versions
1 parent 35ff910 commit 08dfe87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@ on: [push]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
811
steps:
912
- uses: actions/checkout@v1
13+
14+
- name: Install PHP
15+
uses: shivammathur/setup-php@1.7.0
16+
with:
17+
php-version: ${{ matrix.php-versions }}
1018

1119
- name: Validate composer.json and composer.lock
1220
run: composer validate

0 commit comments

Comments
 (0)