Skip to content

Commit 6d1af96

Browse files
[CI] Let ParallelTestRunner determine the appropriate number of workers (#734)
1 parent c9bd143 commit 6d1af96

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/runtests.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
using Metal
22
using ParallelTestRunner
33

4-
# Force 3 workers if running on the 8GB buildkite mac minis
5-
# until ParallelTestRunner.jl interface to determine # workers
6-
if parse(Bool, get(ENV, "BUILDKITE", "false"))
7-
jobs_pos = findfirst(arg -> startswith(arg, "--jobs"), ARGS)
8-
if isnothing(jobs_pos) && (Sys.total_memory() == 8*2^30)
9-
push!(ARGS, "--jobs=3")
10-
end
11-
end
12-
134
# Quit without erroring if Metal loaded without issues on unsupported platforms
145
if !Sys.isapple()
156
@warn """Metal.jl succesfully loaded on non-macOS system.

0 commit comments

Comments
 (0)