Skip to content

Commit e9c03de

Browse files
leofangclaude
andcommitted
Skip checkpoint lifecycle/migration tests in CI
cuCheckpointProcessCheckpoint hangs on CI runners (ephemeral VM + container), causing all CUDA 13.x test jobs to time out. Skip the tests that call into the checkpoint driver when the CI environment variable is set. Input validation tests still run everywhere. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8192df6 commit e9c03de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cuda_core/tests/test_checkpoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def _checkpoint_available():
3434

3535

3636
needs_checkpoint = pytest.mark.skipif(
37-
sys.platform != "linux" or not _checkpoint_available(),
38-
reason="CUDA checkpoint API requires Linux and a supported driver/bindings",
37+
sys.platform != "linux" or os.environ.get("CI") is not None or not _checkpoint_available(),
38+
reason="CUDA checkpoint API requires Linux, a supported driver/bindings, and a non-CI environment",
3939
)
4040

4141

0 commit comments

Comments
 (0)