Skip to content

Commit 31ad0b6

Browse files
committed
fix distributed test
1 parent 25aa773 commit 31ad0b6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/jobs-live.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,11 @@ end
230230

231231
@testset "[LIVE] JuliaHub.submit_job / distributed-per-core" begin
232232
job, full_alias = submit_test_job(
233-
JuliaHub.appbundle(joinpath(@__DIR__, "jobenvs", "job-dist"), "script.jl");
233+
JuliaHub.script(;
234+
code=read(joinpath(script_path, "script.jl"), String),
235+
project=read(joinpath(script_path, "Project.toml"), String),
236+
manifest=read(joinpath(script_path, "Manifest.toml"), String),
237+
);
234238
ncpu=2, nnodes=3, process_per_node=false,
235239
env=Dict("FOO" => "bar"),
236240
auth, alias="distributed-percore",

0 commit comments

Comments
 (0)