From efede90015b55318c4db34ff7e4ff42398e0ec82 Mon Sep 17 00:00:00 2001 From: Felix Hagemann Date: Thu, 5 Oct 2023 18:59:16 +0200 Subject: [PATCH 1/3] Require julia 1.10 --- .github/workflows/ci.yml | 2 +- Project.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8ec4ec..c962708 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: version: - - '1.6' + - '1.10' - '1' os: - ubuntu-latest diff --git a/Project.toml b/Project.toml index 186e2fd..259b386 100644 --- a/Project.toml +++ b/Project.toml @@ -75,4 +75,4 @@ StructArrays = "0.5, 0.6" Tables = "1" TypedTables = "1.2" Unitful = "1" -julia = "1.6" +julia = "1.10" From 11ab64374bc947285c9e5612109c97640dd95761 Mon Sep 17 00:00:00 2001 From: Felix Hagemann Date: Wed, 25 Sep 2024 11:06:05 +0200 Subject: [PATCH 2/3] Update tests to corrected LegendTestData --- test/Project.toml | 3 +++ test/runtests.jl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index b9bb4c4..bfaa967 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -4,3 +4,6 @@ LegendHDF5IO = "c9265ca6-b027-5446-b1a4-febfa8dd10b0" LegendTestData = "33d6da08-6349-5f7c-b5a4-6ff4d8795aaf" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" + +[compat] +LegendTestData = "0.2.8" \ No newline at end of file diff --git a/test/runtests.jl b/test/runtests.jl index 1fc044c..08d3107 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -13,7 +13,7 @@ using Unitful # as well as impurity input germanium_testdata_path = joinpath(legend_test_data_path(), "data", "legend", "metadata", "hardware", "detectors", "germanium") test_dict = Dict{String, typeof(1.0u"pF")}( - "B99000A.json" => -7.13u"pF", + "B99000A.json" => -5.20u"pF", "V99000A.json" => -3.55u"pF" ) @@ -38,7 +38,7 @@ using Unitful C = LegendGeSim.capacitance_matrix(sim) @testset "Capacitances" begin - @test isapprox(C[1,2], capacitance, atol = 0.3u"pF") + @test isapprox(C[1,2], capacitance, atol = 0.4u"pF") end end end From c732f0fa977c6764174ddd91964c46637bdd915e Mon Sep 17 00:00:00 2001 From: Felix Hagemann Date: Wed, 25 Sep 2024 13:23:11 +0200 Subject: [PATCH 3/3] Increase package version to 0.1.3 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 259b386..2378a76 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "LegendGeSim" uuid = "e592b54b-af3c-468f-bcc7-10a913e293a7" -version = "0.1.2" +version = "0.1.3" [deps] ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"