Skip to content

Commit 0e528d3

Browse files
committed
add 3.12 ci gate to github workflow
Change-Id: Id05669b22761acf36953aa1c89ee06d990ff3179
1 parent c781a27 commit 0e528d3

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/run-test.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ jobs:
3535
- "3.9"
3636
- "3.10"
3737
- "3.11"
38-
# greenlet doesn't build as of 2022-12-01
39-
# - "3.12.0-alpha - 3.12"
38+
- "3.12.0-alpha - 3.12"
4039
- "pypy-3.9"
4140
build-type:
4241
- "cext"
@@ -51,6 +50,10 @@ jobs:
5150
pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
5251
- os: "ubuntu-latest"
5352
pytest-args: "--dbdriver pysqlite --dbdriver aiosqlite"
53+
# greenlet doesn't build as of 2022-12-01
54+
- python-version: "3.12.0-alpha - 3.12"
55+
no-greenlet: "true"
56+
pytest-args: "--dbdriver pysqlite --assert plain"
5457

5558
exclude:
5659
# linux and osx do not have x86 python
@@ -78,6 +81,12 @@ jobs:
7881
python-version: ${{ matrix.python-version }}
7982
architecture: ${{ matrix.architecture }}
8083

84+
- name: Remove greenlet
85+
if: ${{ matrix.no-greenlet == 'true' }}
86+
shell: pwsh
87+
run: |
88+
(cat setup.cfg) | %{$_ -replace "^\s*greenlet.+",""} | set-content setup.cfg
89+
8190
- name: Install dependencies
8291
run: |
8392
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)