Skip to content

Commit

Permalink
make sure to activate the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Oct 1, 2023
1 parent a07934b commit 61a6356
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ function activate_downstream_env()
Pkg.instantiate()
end

function activate_python_env()
Pkg.activate("python")
Pkg.develop(PackageSpec(path = dirname(@__DIR__)))
Pkg.instantiate()
end

@time begin
if GROUP == "Core" || GROUP == "All"
@time @safetestset "Aqua" begin
Expand Down Expand Up @@ -95,6 +101,7 @@ end
end

if !is_APPVEYOR && GROUP == "Python"
activate_python_env()
@time @safetestset "PyCall" begin
include("python/pycall.jl")
end
Expand Down

0 comments on commit 61a6356

Please sign in to comment.