From d0a36fbe37ec97d83a18d915bcb6c0a6215afe5a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 8 Oct 2025 08:05:21 -0400 Subject: [PATCH] trim down GH actions jobs - remove 3.13t, it's not really viable compared to 3.14t - fully block test_memusage Change-Id: I78ffcde329a78a9d720569a4b46a20c071e94a5c (cherry picked from commit 3815469635a4378cd3b6653a403bee4cc5e31327) --- pyproject.toml | 1 + test/aaa_profiling/test_memusage.py | 3 +++ tox.ini | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 31863651fa..570dfc4031 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,7 @@ markers = [ "timing_intensive: time-oriented tests that are sensitive to race conditions", "backend: tests that should run on all backends; typically dialect-sensitive", "sparse_backend: tests that should run on multiple backends, not necessarily all", + "gc_intensive: needs extremely predictable GC behavior", ] [tool.pyright] diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py index 387a7521d9..e2f25d5d09 100644 --- a/test/aaa_profiling/test_memusage.py +++ b/test/aaa_profiling/test_memusage.py @@ -1834,6 +1834,9 @@ class MiscMemoryIntensiveTests(fixtures.TestBase): s.commit() +# these tests simply cannot run reliably on github actions machines. +# even trying ten times, they sometimes can't proceed. +@testing.add_to_marker.gc_intensive class WeakIdentityMapTest(_fixtures.FixtureTest): run_inserts = None diff --git a/tox.ini b/tox.ini index 7af3f527ea..c6c23181ba 100644 --- a/tox.ini +++ b/tox.ini @@ -316,7 +316,7 @@ setenv= WORKERS={env:TOX_WORKERS:-n4 --max-worker-restart=5} PYTEST_COLOR={tty:--color=yes} - PYTEST_EXCLUDES=-m "not memory_intensive and not mypy and not timing_intensive" + PYTEST_EXCLUDES=-m "not memory_intensive and not mypy and not timing_intensive and not gc_intensive" SQLITE=--db sqlite commands= -- 2.47.3