Skip to content

Commit 1715166

Browse files
authored
Update dependencies and run Aqua tests (#152)
* Update dependencies and run Aqua tests * Load Aqua
1 parent 94e3ad2 commit 1715166

File tree

2 files changed

+13
-20
lines changed

2 files changed

+13
-20
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "CalibrationErrors"
22
uuid = "33913031-fe46-5864-950f-100836f47845"
33
authors = ["David Widmann <[email protected]>"]
4-
version = "0.6.3"
4+
version = "0.6.4"
55

66
[deps]
77
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
@@ -27,7 +27,7 @@ KernelFunctions = "0.10"
2727
PDMats = "0.10, 0.11"
2828
Reexport = "0.2, 1.0"
2929
SimpleUnPack = "1"
30-
StatsBase = "0.32, 0.33"
30+
StatsBase = "0.32, 0.33, 0.34"
3131
Tulip = "0.7.5, 0.8, 0.9"
3232
julia = "1.3"
3333

test/runtests.jl

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using CalibrationErrors
2+
using Aqua
23
using Distances
34
using Distributions
45
using PDMats
@@ -14,22 +15,18 @@ using CalibrationErrors: unsafe_skce_eval, unsafe_ucme_eval
1415
Random.seed!(1234)
1516

1617
@testset "CalibrationErrors" begin
18+
@testset "General" begin
19+
include("aqua.jl")
20+
end
21+
1722
@testset "binning" begin
18-
@testset "generic" begin
19-
include("binning/generic.jl")
20-
end
21-
@testset "uniform" begin
22-
include("binning/uniform.jl")
23-
end
24-
@testset "median variance" begin
25-
include("binning/medianvariance.jl")
26-
end
23+
include("binning/generic.jl")
24+
include("binning/uniform.jl")
25+
include("binning/medianvariance.jl")
2726
end
2827

2928
@testset "distances" begin
30-
@testset "Wasserstein distance" begin
31-
include("distances/wasserstein.jl")
32-
end
29+
include("distances/wasserstein.jl")
3330
end
3431

3532
@testset "ECE" begin
@@ -45,11 +42,7 @@ Random.seed!(1234)
4542
end
4643

4744
@testset "distributions" begin
48-
@testset "Normal" begin
49-
include("distributions/normal.jl")
50-
end
51-
@testset "MvNormal" begin
52-
include("distributions/mvnormal.jl")
53-
end
45+
include("distributions/normal.jl")
46+
include("distributions/mvnormal.jl")
5447
end
5548
end

0 commit comments

Comments
 (0)