Skip to content

Commit

Permalink
Bump Aqua. (#2207)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Dec 22, 2023
1 parent ed30f60 commit 3605167
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Aqua = "0.7"
Aqua = "0.8"
21 changes: 11 additions & 10 deletions test/base/aqua.jl
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
using Aqua

# FIXME: Adapt.WrappedArray contains subtypes that do not bind the N typevar
#Aqua.test_unbound_args(CUDA)

# FIXME: we have plenty of ambiguities, let's at least ensure that we don't create more
#Aqua.test_ambiguities(CUDA)
let ambs = Aqua.detect_ambiguities(CUDA; recursive=true)
pkg_match(pkgname, pkgdir::Nothing) = false
pkg_match(pkgname, pkgdir::AbstractString) = occursin(pkgname, pkgdir)
filter!(x -> pkg_match("CUDA", pkgdir(last(x).module)), ambs)
@test length(ambs) 18
end

Aqua.test_undefined_exports(CUDA)
Aqua.test_stale_deps(CUDA; ignore=[:CUDA_Runtime_Discovery, :CUDA_Runtime_jll,
:SpecialFunctions])
Aqua.test_deps_compat(CUDA)
Aqua.test_project_extras(CUDA)
Aqua.test_piracy(CUDA)
Aqua.test_all(CUDA;
stale_deps=(ignore=[:CUDA_Runtime_Discovery, :CUDA_Runtime_jll,
:SpecialFunctions],),

# tested above
ambiguities=false,

# FIXME: Adapt.WrappedArray contains subtypes that do not bind the N typevar
#Aqua.test_unbound_args(CUDA)
unbound_args=false
)

0 comments on commit 3605167

Please sign in to comment.