From 4de78688511ae46d85fcd76126828afe9ae818a8 Mon Sep 17 00:00:00 2001 From: Constantin Graf Date: Wed, 4 Jun 2025 21:38:36 +0200 Subject: [PATCH] Add postgres version matrix to phpunit tests --- .github/workflows/phpunit.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 077ed631..57144bd7 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -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'