From: Federico Caselli Date: Mon, 22 May 2023 19:54:47 +0000 (+0200) Subject: add 3.12 ci gate to github workflow X-Git-Tag: rel_2_0_17~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e528d33dfda8a5c635dba14ad5bf0259e917d9d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git add 3.12 ci gate to github workflow Change-Id: Id05669b22761acf36953aa1c89ee06d990ff3179 --- diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index 82818dc88b..9de4a3ec22 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -35,8 +35,7 @@ jobs: - "3.9" - "3.10" - "3.11" - # greenlet doesn't build as of 2022-12-01 - # - "3.12.0-alpha - 3.12" + - "3.12.0-alpha - 3.12" - "pypy-3.9" build-type: - "cext" @@ -51,6 +50,10 @@ jobs: 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" pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite" + # greenlet doesn't build as of 2022-12-01 + - python-version: "3.12.0-alpha - 3.12" + no-greenlet: "true" + pytest-args: "--dbdriver pysqlite --assert plain" exclude: # linux and osx do not have x86 python @@ -78,6 +81,12 @@ jobs: python-version: ${{ matrix.python-version }} architecture: ${{ matrix.architecture }} + - name: Remove greenlet + if: ${{ matrix.no-greenlet == 'true' }} + shell: pwsh + run: | + (cat setup.cfg) | %{$_ -replace "^\s*greenlet.+",""} | set-content setup.cfg + - name: Install dependencies run: | python -m pip install --upgrade pip