Skip to content

Commit 4c1ae91

Browse files
committed
Fix prints
1 parent 2e6e6d6 commit 4c1ae91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/run_tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
python --version
3838
uv pip install . -r ${{ inputs.requirements-file }} -v --reinstall --system
3939
python -c "import parsnip; print('parsnip', parsnip.__version__)"
40-
python -c "import sys; print('GIL: ', sys._is_gil_enabled)"
40+
41+
if [ "${{ inputs.freethreaded }}" = "true" ]; then
42+
python -c "import sys; print('GIL: ', sys._is_gil_enabled)"
43+
fi
4144
4245
- name: Test with pytest
4346
run: python -m ${{ runner.os != 'Windows' && 'pytest' || 'pytest tests' }} -v -n auto

0 commit comments

Comments
 (0)