]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
ci: Add Python 3.12 support
authorStephen Finucane <stephen@that.guru>
Tue, 16 Jan 2024 21:56:28 +0000 (21:56 +0000)
committerStephen Finucane <stephen@that.guru>
Tue, 16 Jan 2024 21:58:30 +0000 (21:58 +0000)
Signed-off-by: Stephen Finucane <stephen@that.guru>
.github/workflows/ci.yaml

index d0a1e783bf1cbac3f491fd34088762106c766a34..a8cec843ad3f18abc1e1facb693a899457dc02c1 100644 (file)
@@ -13,7 +13,7 @@ jobs:
       - name: Set up Python
         uses: actions/setup-python@v4
         with:
-          python-version: "3.11"
+          python-version: "3.12"
       - name: Install dependencies
         run: python -m pip install tox
       - name: Run tox
@@ -23,7 +23,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python: ["3.8", "3.9", "3.10", "3.11"]
+        python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
         db: [postgres, mysql, sqlite3]
     env:
       DATABASE_TYPE: "${{ matrix.db }}"
@@ -99,7 +99,7 @@ jobs:
       - name: Set up Python
         uses: actions/setup-python@v4
         with:
-          python-version: "3.11"
+          python-version: "3.12"
       - name: Install dependencies
         run: python -m pip install tox
       - name: Build docs (via tox)
@@ -126,7 +126,7 @@ jobs:
       - name: Set up Python
         uses: actions/setup-python@v4
         with:
-          python-version: "3.11"
+          python-version: "3.12"
       - name: Build docker-compose service
         run: |
           docker-compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g)