From 87beb895cf05b77c48ad60dde226cac280f449c2 Mon Sep 17 00:00:00 2001 From: Julian Geiger Date: Tue, 21 Jul 2026 19:59:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20`tools/dumping`:=20run=20integra?= =?UTF-8?q?tion=20tests=20nightly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `tests/tools/dumping/integration_tests.py` (26 tests, added in #6723) matches neither of pytest's default `python_files` patterns (`test_*.py`, `*_test.py`), and nothing overrides them, so directory recursion never collected it. CI runs `pytest tests/`, so the whole suite has been silently skipped since it landed on 2025-06-06. Rename it to `test_integration.py` so the default collection finds it, and mark the module `nightly` so the slow, DB-heavy dumps run only in the nightly workflow rather than on every matrix job. No content changes; all 26 pass, including under parallel (`-n auto`) and randomized ordering. --- .../dumping/{integration_tests.py => test_integration.py} | 3 +++ 1 file changed, 3 insertions(+) rename tests/tools/dumping/{integration_tests.py => test_integration.py} (99%) diff --git a/tests/tools/dumping/integration_tests.py b/tests/tools/dumping/test_integration.py similarity index 99% rename from tests/tools/dumping/integration_tests.py rename to tests/tools/dumping/test_integration.py index 321839f414..89d5f44be7 100644 --- a/tests/tools/dumping/integration_tests.py +++ b/tests/tools/dumping/test_integration.py @@ -20,6 +20,9 @@ from .utils import compare_tree +# Slow, DB-heavy integration tests that write full dump trees to disk; run only in nightly CI. +pytestmark = pytest.mark.nightly + logger = AIIDA_LOGGER.getChild('tools._dumping.tests') profile_dump_label = 'profile-dump'