Skip to content

Commit

Permalink
Add Aqua test
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloferz committed Sep 19, 2022
1 parent b3f3a60 commit 532b078
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ authors = ["Fengyang Wang <fengyang.wang.0@gmail.com>", "Curtis Vogt <curtis.vog
version = "0.4.0"

[compat]
Aqua = "0.5.5"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Printf", "Test"]
test = ["Printf", "Test", "Aqua"]
7 changes: 7 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1058,4 +1058,11 @@ end
@test_throws InexactError Bool(fd1)
end

@static if Base.VERSION >= v"1.6"
using Aqua
@testset "Aqua.jl" begin
Aqua.test_all(FixedPointDecimals)
end
end

end # global testset

0 comments on commit 532b078

Please sign in to comment.