From 61a6356e3cd17c3f03a8ee020eb50a74549fcfe2 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sun, 1 Oct 2023 15:54:54 +0200 Subject: [PATCH] make sure to activate the environment --- test/runtests.jl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 12abb45ee..c49d74480 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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 @@ -95,6 +101,7 @@ end end if !is_APPVEYOR && GROUP == "Python" + activate_python_env() @time @safetestset "PyCall" begin include("python/pycall.jl") end