From 7b9310c7d8d831cb5ae30cd6fcde7bfb94cabb8e Mon Sep 17 00:00:00 2001 From: Alexander Fengler Date: Mon, 24 Aug 2026 12:59:37 -0400 Subject: [PATCH] ci: point the slow-test matrix at tests/integration 85f2f032 moved every slow test from tests/slow/ to tests/integration/ but left run_slow_tests.yml pointing at the old paths. The first scheduled slow run after it landed (2026-08-24) failed 6 of 9 legs with ERROR: file or directory not found: tests/slow/test_mcmc.py ERROR: file or directory not found: tests/slow/test_missing_data_mcmc.py The "Remaining Slow" leg failed differently but was also affected: its --ignore paths no longer matched anything, so it silently re-collected the Core MCMC and Missing Data files that the dedicated batches already own. Repoints all four file references and refreshes the one stale tests/slow/ mention in the tests/conftest.py docstring. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/run_slow_tests.yml | 6 +++--- tests/conftest.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_slow_tests.yml b/.github/workflows/run_slow_tests.yml index 5a1e71a34..44c55c140 100644 --- a/.github/workflows/run_slow_tests.yml +++ b/.github/workflows/run_slow_tests.yml @@ -21,11 +21,11 @@ jobs: matrix: include: - batch: "Missing Data" - test_args: "tests/slow/test_missing_data_mcmc.py tests/slow/test_missing_data_and_deadline_mcmc.py" + test_args: "tests/integration/test_missing_data_mcmc.py tests/integration/test_missing_data_and_deadline_mcmc.py" - batch: "Core MCMC" - test_args: "tests/slow/test_mcmc.py tests/slow/test_choice_only.py" + test_args: "tests/integration/test_mcmc.py tests/integration/test_choice_only.py" - batch: "Remaining Slow" - test_args: "-m slow --ignore=tests/slow/test_missing_data_mcmc.py --ignore=tests/slow/test_missing_data_and_deadline_mcmc.py --ignore=tests/slow/test_mcmc.py --ignore=tests/slow/test_choice_only.py" + test_args: "-m slow --ignore=tests/integration/test_missing_data_mcmc.py --ignore=tests/integration/test_missing_data_and_deadline_mcmc.py --ignore=tests/integration/test_mcmc.py --ignore=tests/integration/test_choice_only.py" uses: ./.github/workflows/run_tests.yml with: run_slow_tests: true diff --git a/tests/conftest.py b/tests/conftest.py index f927a84a4..e8027a0a6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -37,7 +37,7 @@ def _slow_test_memory(request): buffers) that Python allocators never see. Without releasing it between tests a serial run grows RSS until the process is OOM-killed. Gated on the ``slow`` marker so the fast suite is unaffected, and applies wherever the slow test - lives (not just ``tests/slow/``). + lives (not just ``tests/integration/``). Reclamation and RSS logging live in one fixture on purpose: two separate autouse fixtures have no guaranteed teardown order, so the logged RSS could