mirror of https://github.com/tiangolo/fastapi.git
disable GIL to run test suite
This commit is contained in:
parent
479e646451
commit
90e8bcc14d
|
|
@ -93,6 +93,10 @@ jobs:
|
||||||
- name: Install older AnyIO in Python 3.8
|
- name: Install older AnyIO in Python 3.8
|
||||||
if: matrix.python-version == '3.8'
|
if: matrix.python-version == '3.8'
|
||||||
run: uv pip install "anyio[trio]<4.0.0"
|
run: uv pip install "anyio[trio]<4.0.0"
|
||||||
|
- name: Set PYTHON_GIL
|
||||||
|
if: endsWith(matrix.python-version, 't')
|
||||||
|
run: |
|
||||||
|
echo "PYTHON_GIL=0" >> "$GITHUB_ENV"
|
||||||
- run: mkdir coverage
|
- run: mkdir coverage
|
||||||
- name: Test
|
- name: Test
|
||||||
run: bash scripts/test.sh
|
run: bash scripts/test.sh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue