Skip to content

Commit 53c50ba

Browse files
committed
ci: test against all LTS versions
1 parent 63a9b32 commit 53c50ba

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
name: CI
2+
23
on:
3-
push: { branches: [main] }
4-
pull_request: { branches: [main] }
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
59
jobs:
610
test:
11+
name: Test (PHP ${{ matrix.php-version }})
712
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
php-version: ["8.1", "8.2", "8.3", "8.4"]
816
steps:
917
- uses: actions/checkout@v6
1018
- uses: shivammathur/setup-php@v2
1119
with:
12-
php-version: '8.3'
20+
php-version: ${{ matrix.php-version }}
1321
extensions: gmp, openssl
1422
- run: composer install -q
1523
- run: vendor/bin/phpunit --colors=always

0 commit comments

Comments
 (0)