Skip to content

Commit

Permalink
fix test_build
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Feb 5, 2024
1 parent fd5891a commit 45fd341
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/DepotDelivery.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,7 @@ end
#-----------------------------------------------------------------------------# test_build
function test_build(path::String; kw...)
Malt.remote_eval_fetch(worker, quote
path = $path
import Pkg, TOML

build_spec = TOML.parsefile(joinpath(path, "config", "buildspec.toml"))

push!(empty!(DEPOT_PATH), path)
Pkg.activate(path)
Pkg.test(; $kw...)

@info "Testing depot with build_spec" build_spec
include(joinpath($path, "config", "depot_startup.jl"))
end)
end

Expand Down

0 comments on commit 45fd341

Please sign in to comment.