]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Some test pipeline updates
authorFederico Caselli <cfederico87@gmail.com>
Thu, 1 Dec 2022 21:29:50 +0000 (22:29 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Sat, 3 Dec 2022 19:06:59 +0000 (20:06 +0100)
Add back pypy, python 3.12

Change-Id: Ie3b3b890d75b3939b3d5f684ec7eadadfe06a5ea

.github/workflows/run-test.yaml

index 381befe09f0bb1ba04f078e149348235ba4a8598..e05d71bf00ae7a619cd3c72262c4224f8909f90d 100644 (file)
@@ -35,9 +35,9 @@ jobs:
           - "3.9"
           - "3.10"
           - "3.11"
-          # waiting on https://foss.heptapod.net/pypy/pypy/-/issues/3690
-          # which also seems to be in 3.9
-          - "pypy-3.9"
+          # greenlet doesn't build as of 2022-12-01
+          # - "3.12.0-alpha - 3.12"
+          - "pypy-3.9"
         build-type:
           - "cext"
           - "nocext"
@@ -47,14 +47,15 @@ jobs:
 
         include:
           # autocommit tests fail on the ci for some reason
-          # - python-version: "pypy-3.9"
-          #   pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
-          # add aiosqlite on linux, for py3.10 only;
-          # wait for https://github.com/python/cpython/issues/99205 to be
-          # fixed for py311
+          - python-version: "pypy-3.9"
+            pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
           - os: "ubuntu-latest"
-            python-version: "3.10"
             pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite"
+          # do not run aiosqlite on python 3.11
+          # wait for https://github.com/python/cpython/issues/99205 to be fixed
+          - os: "ubuntu-latest"
+            python-version: "3.11"
+            pytest-args: "--dbdriver pysqlite"
 
 
         exclude:
@@ -63,12 +64,12 @@ jobs:
             architecture: x86
           - os: "macos-latest"
             architecture: x86
-          # pypy does not have cext
-          - python-version: "pypy-3.9"
-            build-type: "cext"
-          - os: "windows-latest"
-            python-version: "pypy-3.9"
-            architecture: x86
+          # pypy does not have cext or x86
+          - python-version: "pypy-3.9"
+            build-type: "cext"
+          - os: "windows-latest"
+            python-version: "pypy-3.9"
+            architecture: x86
 
       fail-fast: false
 
@@ -91,6 +92,7 @@ jobs:
 
       - name: Run tests
         run: tox -e github-${{ matrix.build-type }} -- -q --nomemory --notimingintensive ${{ matrix.pytest-args }}
+        continue-on-error: ${{ matrix.python-version == 'pypy-3.9' }}
 
   run-test-arm64:
     name: ${{ matrix.python-version }}-${{ matrix.build-type }}-arm64-ubuntu-latest
@@ -174,7 +176,7 @@ jobs:
         os:
           - "ubuntu-latest"
         python-version:
-          - "3.10"
+          - "3.11"
 
       fail-fast: false