Skip to content

Commit 4de7868

Browse files
committed
Add postgres version matrix to phpunit tests
1 parent ffc016a commit 4de7868

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/phpunit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ jobs:
66
phpunit:
77
runs-on: ubuntu-latest
88
timeout-minutes: 10
9+
strategy:
10+
matrix:
11+
postgres_version: [ 15, 16, 17 ]
912

1013
services:
1114
pgsql_test:
12-
image: postgres:15
15+
image: postgres:${{ matrix.postgres_version }}
1316
env:
1417
PGPASSWORD: 'root'
1518
POSTGRES_DB: 'laravel'

0 commit comments

Comments
 (0)