Skip to content

Commit

Permalink
Specify the versions of both BrokenRecord and JLD2
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Oct 16, 2023
1 parent 193cb13 commit fef5236
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ ENV["JULIA_PKG_SERVER"] = ""

@static if Base.VERSION < v"1.11"
# BrokenRecord fails to precompile on Julia 1.11
Pkg.add(
Pkg.PackageSpec(;
name = "BrokenRecord",
uuid = "bdd55f5b-6e67-4da1-a080-6086e55655a0",
version = "0.1.9",
)
)
let
brokenrecord = Pkg.PackageSpec(name = "BrokenRecord", uuid = "bdd55f5b-6e67-4da1-a080-6086e55655a0", version = "0.1.9")
jld2 = Pkg.PackageSpec(name = "JLD2", uuid = "033835bb-8acc-5ee8-8aae-3f567f8a3819", version = "0.4.33")
pkgs = [brokenrecord, jld2]
Pkg.add(pkgs)
end
import BrokenRecord
end

Expand Down

0 comments on commit fef5236

Please sign in to comment.