Skip to content

Commit 3ec1d2b

Browse files
Actually enable serialization upgrade tests for 1.6.0 and 1.7.0 files (oscar-system#5927)
Co-authored-by: Benjamin Lorenz <benlorenz@users.noreply.github.com>
1 parent 493b0f5 commit 3ec1d2b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

test/Serialization/upgrades/runtests.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,15 @@
6363
@testset "load files serialized with 1.5.0" begin
6464
test_upgrade_folder("version_1_5_0")
6565
end
66+
67+
@testset "load files serialized with 1.6.0" begin
68+
test_upgrade_folder("version_1_6_0")
69+
end
70+
71+
@testset "load files serialized with 1.7.0" begin
72+
test_upgrade_folder("version_1_7_0"; exclude=[
73+
# upgrading the following is tested in experimental/AlgebraicStatistics/test/serialization-upgrades.jl
74+
"GroupBasedPhylogeneticModel",
75+
])
76+
end
6677
end

test/Serialization/upgrades/setup_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if !isdefined(Main, :serialization_upgrade_test_path) ||
88
!isdir(Main.serialization_upgrade_test_path) ||
99
!isfile(joinpath(Main.serialization_upgrade_test_path, "LICENSE.md"))
1010

11-
serialization_upgrade_test_path = let commit_hash = "eb9f9dcd294e95c469c33ed8c588cdc6accc10c8"
11+
serialization_upgrade_test_path = let commit_hash = "e3473ad614217bc19fad7f809de2d863984be157"
1212
tarball = Downloads.download("https://github.com/oscar-system/serialization-upgrade-tests/archive/$(commit_hash).tar.gz")
1313

1414
destpath = open(CodecZlib.GzipDecompressorStream, tarball) do io

0 commit comments

Comments
 (0)