From 3605167a9ea3aebfc944cc88ea0f86f01723a764 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Fri, 22 Dec 2023 14:39:23 +0100 Subject: [PATCH] Bump Aqua. (#2207) --- test/Project.toml | 2 +- test/base/aqua.jl | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index 5443ad3b1b..fab179e86a 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -25,4 +25,4 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] -Aqua = "0.7" +Aqua = "0.8" diff --git a/test/base/aqua.jl b/test/base/aqua.jl index 12bb5a79b4..c147223c49 100644 --- a/test/base/aqua.jl +++ b/test/base/aqua.jl @@ -1,10 +1,6 @@ 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) @@ -12,9 +8,14 @@ let ambs = Aqua.detect_ambiguities(CUDA; recursive=true) @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 +)