Add postgres version matrix to phpunit tests

This commit is contained in:
Constantin Graf
2025-06-04 21:38:36 +02:00
committed by Constantin Graf
parent ffc016a1ec
commit 4de7868851

View File

@@ -6,10 +6,13 @@ jobs:
phpunit:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
postgres_version: [ 15, 16, 17 ]
services:
pgsql_test:
image: postgres:15
image: postgres:${{ matrix.postgres_version }}
env:
PGPASSWORD: 'root'
POSTGRES_DB: 'laravel'