Skip to content

Commit

Permalink
Merge pull request #50 from legend-exp/dev
Browse files Browse the repository at this point in the history
Require julia 1.10
  • Loading branch information
fhagemann authored Sep 25, 2024
2 parents 6e93513 + c732f0f commit 2993c0d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
- '1.10'
- '1'
os:
- ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -75,4 +75,4 @@ StructArrays = "0.5, 0.6"
Tables = "1"
TypedTables = "1.2"
Unitful = "1"
julia = "1.6"
julia = "1.10"
3 changes: 3 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -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
Expand Down

0 comments on commit 2993c0d

Please sign in to comment.