Skip to content

Commit 3419fed

Browse files
committed
add hacky free-threaded CI
1 parent e10f2dc commit 3419fed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
- {VERSION: "3.12", NOXSESSION: "rust,tests", RUST: "beta"}
5959
- {VERSION: "3.12", NOXSESSION: "rust,tests", RUST: "nightly"}
6060
- {VERSION: "3.12", NOXSESSION: "tests-rust-debug"}
61+
- {VERSION: "3.13t", NOXSESSION: "local"}
6162
timeout-minutes: 15
6263
steps:
6364
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -137,6 +138,13 @@ jobs:
137138
nox -v --install-only
138139
env:
139140
NOXSESSION: ${{ matrix.PYTHON.NOXSESSION }}
141+
- name: override cffi version in free-threaded environment
142+
if: matrix.PYTHON.VERSION == '3.13t'
143+
# FIXME FIXME total hack
144+
run: |
145+
.nox/local/bin/python -m ensurepip
146+
.nox/local/bin/python -m pip install git+https://github.com/colesbury/cffi@ft
147+
echo "PYTHON_GIL=0" >> $GITHUB_ENV
140148
- name: Tests
141149
run: |
142150
nox --no-install -- --color=yes --wycheproof-root=wycheproof --x509-limbo-root=x509-limbo ${{ matrix.PYTHON.NOXARGS }}

0 commit comments

Comments
 (0)