]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
trim down GH actions jobs
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 8 Oct 2025 12:05:21 +0000 (08:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 8 Oct 2025 12:05:21 +0000 (08:05 -0400)
- remove 3.13t, it's not really viable compared to 3.14t
- fully block test_memusage

Change-Id: I78ffcde329a78a9d720569a4b46a20c071e94a5c

.github/workflows/run-test.yaml
pyproject.toml
test/aaa_profiling/test_memusage.py
tox.ini

index 854248d0901c965d641e82da199cf8b0936dd852..55daa8605525ef4a63fb851e70ad9629ce29ffef 100644 (file)
@@ -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"
index 3dd9a6afc83ca5ac7eb730b5b34a65b7e67d9615..699606207f7b6bd68d712486b5184052a3a4c7df 100644 (file)
@@ -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",
 ]
 
 
index 0055232b727b068eb9eec3d0d02a3e6a08a1b529..47aa5f94b0f4cc4c64b75b81f662947d432a18df 100644 (file)
@@ -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 ea428ca909ab1083748959b63b9ce86d50926c57..2f009e6e5aa74a0f8f3cf7e172dd0270a895d97b 100644 (file)
--- 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=