Skip to content

Commit eba10dd

Browse files
authored
CI: Start the Pkg tests very early on during the test suite (#52460)
1 parent 0a6ae7c commit eba10dd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/runtests.jl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,14 @@ move_to_node1("stress")
8484
# since it starts a lot of workers and can easily exceed the maximum memory
8585
limited_worker_rss && move_to_node1("Distributed")
8686

87-
# Shuffle LinearAlgebra tests to the front, because they take a while, so we might
87+
# Move LinearAlgebra and Pkg tests to the front, because they take a while, so we might
8888
# as well get them all started early.
89-
linalg_test_ids = findall(x->occursin("LinearAlgebra", x), tests)
90-
linalg_tests = tests[linalg_test_ids]
91-
deleteat!(tests, linalg_test_ids)
92-
prepend!(tests, linalg_tests)
89+
for prependme in ["LinearAlgebra", "Pkg"]
90+
prependme_test_ids = findall(x->occursin(prependme, x), tests)
91+
prependme_tests = tests[prependme_test_ids]
92+
deleteat!(tests, prependme_test_ids)
93+
prepend!(tests, prependme_tests)
94+
end
9395

9496
import LinearAlgebra
9597
cd(@__DIR__) do

0 commit comments

Comments
 (0)