Skip to content

Commit

Permalink
ci: add postgres versions 11 to 15 to the build matrix
Browse files Browse the repository at this point in the history
Add PostgreSQL versions 11 to 15 to the build matrix. Previously, only
PostgreSQL 12 was tested against.
  • Loading branch information
jpvanhal committed Aug 7, 2023
1 parent 3c3f4dd commit a1d00b1
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12
image: postgres:${{ matrix.postgres }}
env:
POSTGRES_DB: sqlalchemy_searchable_test
POSTGRES_USER: postgres
Expand All @@ -27,20 +27,25 @@ jobs:
fail-fast: false
matrix:
include:
- name: "Python 3.11"
- name: "Python 3.11, PostgreSQL 15"
python: "3.11"
postgres: 15

- name: "Python 3.10"
- name: "Python 3.10, PostgreSQL 14"
python: "3.10"
postgres: 14

- name: "Python 3.9"
- name: "Python 3.9, PostgreSQL 13"
python: "3.9"
postgres: 13

- name: "Python 3.8"
- name: "Python 3.8, PostgreSQL 12"
python: "3.8"
postgres: 12

- name: "PyPy"
- name: "PyPy, PostgreSQL 11"
python: "pypy3.9"
postgres: 11

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit a1d00b1

Please sign in to comment.