]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
💚 Fix CI test suite for Python 3.7 (#1309)
authorSofie Van Landeghem <svlandeg@users.noreply.github.com>
Mon, 24 Feb 2025 09:18:24 +0000 (10:18 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2025 09:18:24 +0000 (10:18 +0100)
.github/workflows/test.yml

index 9126db93c575cd78430639609ce4e0d00d65f14c..19e696188c8093bdd6308beb0eee455ba8405629 100644 (file)
@@ -23,9 +23,9 @@ env:
 
 jobs:
   test:
-    runs-on: ubuntu-latest
     strategy:
       matrix:
+        os: [ ubuntu-latest ]
         python-version:
           - "3.8"
           - "3.9"
@@ -35,7 +35,15 @@ jobs:
         pydantic-version:
           - pydantic-v1
           - pydantic-v2
+        include:
+          - os: ubuntu-22.04
+            python-version: "3.7"
+            pydantic-version: pydantic-v1
+          - os: ubuntu-22.04
+            python-version: "3.7"
+            pydantic-version: pydantic-v2
       fail-fast: false
+    runs-on: ${{ matrix.os }}
     steps:
       - uses: actions/checkout@v4
       - name: Set up Python