Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a 1.11 bundle to the tests #61

Merged
merged 3 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/serializer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function _stripcode(
cd(@__DIR__) do
pkgid = Base.PkgId(Base.UUID("9e88b42a-f829-5b0c-bbe9-9e923198166b"), "Serialization")
buffer = seekstart(IOBuffer(xor.(read(\"$(basename(jls))\"), $(repr(xorshift)))))
for x in Base.require(pkgid).deserialize(buffer).args
for x in Base.invokelatest(Base.require(pkgid).deserialize, buffer).args
Core.eval(@__MODULE__, x)
end
end
Expand Down
2 changes: 2 additions & 0 deletions test/PackageBundler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ environments = [
"environments/1.9/[email protected]",
"environments/1.10/[email protected]",
"environments/1.10/[email protected]",
"environments/1.11/[email protected]",
"environments/1.11/[email protected]",
]
outputs = [
"build/LocalCustomRegistry",
Expand Down
6 changes: 6 additions & 0 deletions test/environments/1.11/[email protected]/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[deps]
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
TestPackage = "8346427c-08d3-4941-a1ec-6285c85e2ad6"

[compat]
TestPackage = "= 0.1.0"
6 changes: 6 additions & 0 deletions test/environments/1.11/[email protected]/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[deps]
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
TestPackage = "8346427c-08d3-4941-a1ec-6285c85e2ad6"

[compat]
TestPackage = "= 0.2.0"
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ end
count += 1
end
end
@test count == 4
@test count == 6
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/verify.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ import TOML
count += 1
end
end
@test count == 4
@test count == 6
end