Skip to content

Commit 57f106c

Browse files
committed
Enable heap verification without gflags
1 parent b3599de commit 57f106c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test-windows.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,11 @@ jobs:
137137
& $env:pythonLocation\python.exe selftest.py --installed
138138
shell: pwsh
139139

140-
# failing with PyPy3
140+
# skip PyPy for speed
141141
- name: Enable heap verification
142142
if: "!contains(matrix.python-version, 'pypy')"
143-
run: "& 'C:\\Program Files (x86)\\Windows Kits\\10\\Debuggers\\x86\\gflags.exe' /p /enable $env:pythonLocation\\python.exe"
143+
run: |
144+
& reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\python.exe" /v "GlobalFlag" /t REG_SZ /d "0x02000000" /f
144145
145146
- name: Test Pillow
146147
run: |

0 commit comments

Comments
 (0)