Skip to content

Commit 46e66c0

Browse files
committed
Add running Aqua to test suite
1 parent f6d1712 commit 46e66c0

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

test/Aqua.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module AquaTests
2+
3+
using Aqua: Aqua
4+
using Turing
5+
6+
Aqua.test_all(Turing)
7+
8+
end

test/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
33
AdvancedMH = "5b7e9947-ddc0-4b3f-9b55-0d8042f74170"
44
AdvancedPS = "576499cb-2369-40b2-a588-c64705576edc"
55
AdvancedVI = "b5ca4192-6429-45e5-a2d9-87aec30a685c"
6+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
67
Clustering = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5"
78
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
89
DistributionsAD = "ced4e74d-a319-5a8a-b0ac-84af2272839c"
@@ -39,6 +40,7 @@ AbstractMCMC = "5"
3940
AdvancedMH = "0.6, 0.7, 0.8"
4041
AdvancedPS = "0.6.0"
4142
AdvancedVI = "0.2"
43+
Aqua = "0.8"
4244
Clustering = "0.14, 0.15"
4345
Distributions = "0.25"
4446
DistributionsAD = "0.6.3"

test/runtests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ macro timeit_include(path::AbstractString)
2626
end
2727

2828
@testset "Turing" begin
29+
@testset "Aqua" begin
30+
@timeit_include("Aqua.jl")
31+
end
32+
2933
@testset "essential" begin
3034
@timeit_include("essential/ad.jl")
3135
@timeit_include("essential/container.jl")

0 commit comments

Comments
 (0)