Skip to content

run with GIL disabled #13

run with GIL disabled

run with GIL disabled #13

Workflow file for this run

name: GIL Talk Demo
on: push
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- name: Setup Python via Miniconda
uses: conda-incubator/setup-miniconda@v3.0.4
with:
python-version: 3.13
channels: defaults,ad-testing/label/py313_nogil
- name: Check Python version
run: |
python -VV
python -c "import sys; print(sys._is_gil_enabled())"
- name: Install dependencies
run: |
pip install setuptools
- name: Build and run tests
run: |
python python_c_extension/setup.py build
cp -r build/*/* python_c_extension
python -m unittest discover tests/ -vvv
env:
PYTHON_GIL: 0