Skip to content

Commit 6fb72b7

Browse files
Enable PYTHONTRACEMALLOC on Windows CI and add CI/CD docs
- Add PYTHONTRACEMALLOC=1 on Windows runners to debug gc errors with popen objects in test_case_cwd_evil[git]
1 parent dc4b020 commit 6fb72b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/python-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
include:
4545
- os: windows-latest
4646
python_version: 'msys2'
47+
env:
48+
# Enable tracemalloc to debug gc errors with popen objects (especially on Windows)
49+
PYTHONTRACEMALLOC: "1"
4750

4851
name: ${{ matrix.os }} - Python ${{ matrix.python_version }}
4952
steps:

0 commit comments

Comments
 (0)