From 185201d264607ed62e24f7f96638064260dc6b86 Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2024 00:54:57 +0000 Subject: [PATCH] fix: Ensure proper package loading in test environment --- test/runtests.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 930a83861..c5d9d2b52 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,12 +1,12 @@ using PromptingTools +using Test, Pkg +# Ensure test dependencies are loaded +Pkg.activate("test") +Pkg.instantiate() using OpenAI, HTTP, JSON3 using SparseArrays, LinearAlgebra, Markdown using Statistics using Dates: now -using Test, Pkg, Random -const PT = PromptingTools -using Snowball, FlashRank -using Aqua @testset "Code quality (Aqua.jl)" begin # Skipping unbound_args check because we need our `MaybeExtract` type to be unboard