summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorTyler Kennedy2022-11-25 19:31:23 -0500
committerGitHub2022-11-25 17:31:23 -0700
commitcec9698326c504b39e0efacbc94338b6bf7121f0 (patch)
tree987c89da90e7e0a15bdb70ab41412dc416dde573 /.github/workflows
parent48ab05d28542ab3d9ddb654bc7f61e5dbe59a0fb (diff)
downloadtakahe-cec9698326c504b39e0efacbc94338b6bf7121f0.tar.gz
takahe-cec9698326c504b39e0efacbc94338b6bf7121f0.tar.bz2
takahe-cec9698326c504b39e0efacbc94338b6bf7121f0.zip
Run tests in both Python 3.10 and 3.11
Diffstat (limited to '.github/workflows')
-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: |