summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 41a0899..dbee8e3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -5,6 +5,9 @@ on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: ["3.10", "3.11"]
services:
postgres:
image: postgres:15
@@ -16,10 +19,10 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v3
- - name: Set up Python 3.10
+ - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
- python-version: "3.10"
+ python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |