]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
disable GIL to run test suite
authorsvlandeg <svlandeg@github.com>
Tue, 21 Oct 2025 08:30:28 +0000 (10:30 +0200)
committersvlandeg <svlandeg@github.com>
Tue, 21 Oct 2025 08:30:28 +0000 (10:30 +0200)
.github/workflows/test.yml

index ed04843f3e9c5184ea4eb8cd68ba9d9082deb004..44d0df83e487a06aad54a45ee1f2e52807084705 100644 (file)
@@ -93,6 +93,10 @@ jobs:
       - name: Install older AnyIO in Python 3.8
         if: matrix.python-version == '3.8'
         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
       - name: Test
         run: bash scripts/test.sh