From e5c440ab690a5b283d8c840fd65bf20fb7fce350 Mon Sep 17 00:00:00 2001 From: Irina Truong Date: Mon, 16 Jan 2023 11:17:38 -0800 Subject: [PATCH 1/3] Add more postgres versions into CI matrix. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cced9fd..eed0827 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,11 @@ jobs: strategy: matrix: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + postgres-version: ['10', '15'] services: postgres: - image: postgres:10 + image: postgres:${{ matrix.postgres-version }} env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres From 8628c3a0d8e698cab866ddcb3fd09005ca81c4d3 Mon Sep 17 00:00:00 2001 From: Irina Truong Date: Mon, 16 Jan 2023 11:22:46 -0800 Subject: [PATCH 2/3] Postgresql 14. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eed0827..af98986 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - postgres-version: ['10', '15'] + postgres-version: ['10', '14'] services: postgres: From 18dccec344f63f989ad104c3453144015b9bc0b9 Mon Sep 17 00:00:00 2001 From: Irina Truong Date: Mon, 16 Jan 2023 11:41:10 -0800 Subject: [PATCH 3/3] Pair each Python version with a new Postgres version. --- .github/workflows/ci.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af98986..905a4da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,17 @@ jobs: strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - postgres-version: ['10', '14'] + include: + - python-version: '3.7' + postgres-version: '10' + - python-version: '3.8' + postgres-version: '11' + - python-version: '3.9' + postgres-version: '12' + - python-version: '3.10' + postgres-version: '13' + - python-version: '3.11' + postgres-version: '14' services: postgres: