Skip to content

Commit 8bd96b4

Browse files
committed
force-disable the GIL on free-threaded Mac CI
1 parent 4bd5909 commit 8bd96b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,11 @@ jobs:
8686
- name: Install dependencies
8787
run: python -m pip install tox
8888

89+
# TODO: remove when the _fsevents C extension declares support for
90+
# running without the GIL
91+
- name: Force-disable the GIL on Mac
92+
if: ${{ endsWith(matrix.python, 't') && matrix.os.matrix == 'macos' }}
93+
run: echo "PYTHON_GIL=0" >> $GITHUB_ENV
94+
8995
- name: Run tests
9096
run: python -m tox -q -e py

0 commit comments

Comments
 (0)