From 3815469635a4378cd3b6653a403bee4cc5e31327 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 --- .github/workflows/run-test.yaml | 1 - pyproject.toml | 1 + test/aaa_profiling/test_memusage.py | 3 +++ tox.ini | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-test.yaml b/.github/workflows/run-test.yaml index 854248d090..55daa86055 100644 --- a/.github/workflows/run-test.yaml +++ b/.github/workflows/run-test.yaml @@ -37,7 +37,6 @@ jobs: - "3.11" - "3.12" - "3.13" - - "3.13t" - "3.14.0-alpha - 3.14" - "3.14t-dev" - "pypy-3.10" diff --git a/pyproject.toml b/pyproject.toml index 3dd9a6afc8..699606207f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -168,6 +168,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", ] diff --git a/test/aaa_profiling/test_memusage.py b/test/aaa_profiling/test_memusage.py index 0055232b72..47aa5f94b0 100644 --- a/test/aaa_profiling/test_memusage.py +++ b/test/aaa_profiling/test_memusage.py @@ -1778,6 +1778,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 ea428ca909..2f009e6e5a 100644 --- a/tox.ini +++ b/tox.ini @@ -310,7 +310,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