Skip to content

Commit

Permalink
Update aqua.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Nov 23, 2023
1 parent 3f3b4b3 commit 09694c4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions test/aqua.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ import Aqua
@testset "Aqua" begin
# Test ambiguities separately without Base and Core
# Ref: https://github.com/JuliaTesting/Aqua.jl/issues/77
Aqua.test_all(Distributions; ambiguities = false)
Aqua.test_ambiguities(Distributions)
Aqua.test_all(
Distributions;
ambiguities = false,
# On older Julia versions, installed dependencies are quite old
# Thus unbound type parameters show up that are fixed in newer versions
unbound_args = VERSION >= v"1.6",
)
# Tests are not reliable on older Julia versions and
# show ambiguities in loaded packages
if VERSION >= v"1.6"
Aqua.test_ambiguities(Distributions)
end
end

0 comments on commit 09694c4

Please sign in to comment.