File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 207207end
208208
209209@testset " [LIVE] JuliaHub.submit_job / distributed" begin
210+ script_path = joinpath (@__DIR__ , " jobenvs" , " job-dist" )
210211 job, _ = submit_test_job (
211- JuliaHub. appbundle (joinpath (@__DIR__ , " jobenvs" , " job-dist" ), " script.jl" );
212+ JuliaHub. script (;
213+ code= read (joinpath (script_path, " script.jl" ), String),
214+ project= read (joinpath (script_path, " Project.toml" ), String),
215+ manifest= read (joinpath (script_path, " Manifest.toml" ), String),
216+ );
212217 nnodes= 3 ,
213218 auth, alias= " distributed" ,
214219 )
328333 n = write(ENV["RESULTS_FILE"], "output-txt-content")
329334 @info "Wrote $(n) bytes"
330335 if haskey(ENV, "JULIAHUB_RESULTS_UPLOAD_DIR")
331- open(ENV["JULIAHUB_RESULTS_UPLOAD_DIR"], "output.txt ") do io
336+ open(ENV["JULIAHUB_RESULTS_UPLOAD_DIR"], "w ") do io
332337 write(io, "output-txt-content")
333338 end
334339 end
You can’t perform that action at this time.
0 commit comments