Speed up CI test suite on non-Linux platforms#420
Merged
blink1073 merged 2 commits intoCalysto:mainfrom Mar 24, 2026
Merged
Conversation
- Skip slow ipcluster-dependent parallel magic tests on non-Linux CI - Skip slow matplotlib backend test on non-Linux CI - Reduce pexpect timeout test from 5s to 1s - Reduce bash sleep in CR-handling tests from 1s to 0.1s
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
References
N/A
Description
The macOS CI cover job takes ~4min vs ~1min on Ubuntu. This PR skips slow tests that depend on ipcluster or have slow platform-specific initialization on non-Linux CI, and reduces unnecessary sleep/timeout durations in tests.
Changes
test_parallel_magicandtest_px_error_reports_exception_not_noisy_tracebackon non-Linux (they require ipcluster and take ~71s on macOS vs <1s on Ubuntu)test_matplotlib_magic_sets_backendon non-Linux (~12s on macOS vs ~2s on Ubuntu)test_expect_timeoutpexpect timeout from 5s to 1ssleep 1tosleep 0.1in CR-handling tests intest_replwrap.pyandtest_process_metakernel.pyBackwards-incompatible changes
None
Testing
Existing CI — these tests continue to run on Linux.
AI usage