From 229d0270330e4dd24320d0a5d1b094876c56b5f1 Mon Sep 17 00:00:00 2001 From: Jared Lumpe Date: Sun, 1 Dec 2024 03:27:53 -0800 Subject: [PATCH] CI test SQLAlchemy 1.4 and 2.0 --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 173041c..4661a52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,11 @@ jobs: fail-fast: false matrix: python-version: [3.9, '3.10', 3.11, 3.12, 3.13] + sqla-version: ["~=2.0"] + include: + # Also test with SQLALchemy >=1.4, <2 + - python-version: 3.12 + - sqla-version: "~=1.4" steps: - uses: actions/checkout@v4 @@ -27,7 +32,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install setuptools pytest + python -m pip install setuptools pytest sqlalchemy{{ matrix.sqla-version }} - name: Build package run: |