Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/autotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ jobs:
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
# Keep all matrix variants running even when one of the flaky unit-test
# combinations fails. This makes it easier to collect the remaining
# signal and avoids cancelling healthy runs.
fail-fast: false
matrix:
os: [windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.15']
Expand All @@ -28,6 +32,13 @@ jobs:
nmake /f Makefile
./server.exe /RegServer
- name: unittest comtypes
env:
# The normal coverage core uses `sys.settrace`. In Python 3.12, this
# kind of tracing is very slow. `sysmon` uses Python's newer
# `sys.monitoring` API.
# It gets line events from Python with less extra work, so the test
# job can finish faster.
COVERAGE_CORE: ${{ matrix.python-version == '3.12' && 'sysmon' || '' }}
run: |
if ("${{ matrix.support }}" -eq "with 3rd parties") {
pip install numpy
Expand Down
2 changes: 1 addition & 1 deletion comtypes/test/test_comserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class TestInproc_win32com(BaseServerTest, unittest.TestCase):
def create_object(self):
return Dispatch("TestComServerLib.TestComServer")

if sys.version_info >= (3, 14):
if sys.version_info >= (3, 14) or sys.version_info[:2] == (3, 12):

@unittest.skip("Fails occasionally with a memory leak on INPROC.")
def test_eval(self):
Expand Down
Loading