From: Federico Caselli Date: Thu, 1 Dec 2022 21:29:50 +0000 (+0100) Subject: Some test pipeline updates X-Git-Tag: rel_2_0_0b4~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3984191fccc23b699019946c6233833da8833712;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Some test pipeline updates Add back pypy, python 3.12 Change-Id: Ie3b3b890d75b3939b3d5f684ec7eadadfe06a5ea --- diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index 381befe09f..e05d71bf00 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -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