From cd15aa514ebfbfd9fb5ee3701dedf2a1a3d27f2b Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Thu, 23 Jul 2026 00:53:16 +0200 Subject: [PATCH] ci: run artifact-aware module matrix tests --- tests/test_release_integration.py | 8 ++++++++ tools/checks/check-module-matrix.sh | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/test_release_integration.py b/tests/test_release_integration.py index 95b52e0..d20bcab 100644 --- a/tests/test_release_integration.py +++ b/tests/test_release_integration.py @@ -91,6 +91,14 @@ class ReleaseIntegrationTests(unittest.TestCase): self.assertLess(core_tests, module_tests) self.assertNotIn('"$PYTHON" -m unittest \\\n tests.test_module_system', script) + def test_module_matrix_uses_artifact_aware_core_suite(self) -> None: + meta_root = Path(__file__).resolve().parents[1] + script = (meta_root / "tools" / "checks" / "check-module-matrix.sh").read_text(encoding="utf-8") + + self.assertIn('"$META_ROOT/tools/checks/release_integration.py" core-tests', script) + self.assertIn('--core-root "$ROOT"', script) + self.assertNotIn('"$PYTHON" -m unittest tests.test_module_system', script) + if __name__ == "__main__": unittest.main() diff --git a/tools/checks/check-module-matrix.sh b/tools/checks/check-module-matrix.sh index 73f6f6c..16dddfa 100644 --- a/tools/checks/check-module-matrix.sh +++ b/tools/checks/check-module-matrix.sh @@ -19,7 +19,8 @@ fi cd "$ROOT" "$PYTHON" "$META_ROOT/tools/checks/check-contracts.py" --no-impact -"$PYTHON" -m unittest tests.test_module_system tests.test_access_contracts +"$PYTHON" "$META_ROOT/tools/checks/release_integration.py" core-tests \ + --core-root "$ROOT" "$PYTHON" "$META_ROOT/tools/checks/check_dependency_boundaries.py" cd "$ROOT/webui"