Skip to content

Py_NOGIL

Py_NOGIL #353

Workflow file for this run

name: Test
on: [push, pull_request, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13-dev"]
name: main
steps:
- uses: actions/checkout@v4
- uses: hugovk/action@disable-gil
with:
python-version: ${{ matrix.python-version }}
disable-gil: true
- name: Check version
run: |
python --version --version && which python
python -c "import sysconfig; print(sysconfig.get_config_var('Py_GIL_DISABLED'))"
python -c "import sysconfig; print(sysconfig.get_config_var('Py_NOGIL'))"