From dbbd84df8e8f46fa144399b155c6adb9b2f6832a Mon Sep 17 00:00:00 2001 From: Hlamalani Date: Wed, 4 Oct 2023 09:24:41 +0200 Subject: [PATCH] Test against multiple postgres versions --- .github/workflows/test.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 55a08459..09ac6a06 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -5,9 +5,12 @@ on: [pull_request] jobs: test: runs-on: ubuntu-latest + strategy: + matrix: + postgres_version: ['12', '13', '14'] services: postgres: - image: postgres:11.16 + image: postgres:${{ matrix.postgres_version }} env: POSTGRES_DB: ndoh_hub POSTGRES_USER: postgres