From 2a5611566386d0c68c54ba3310b394b020bfe698 Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Tue, 12 Dec 2023 04:41:29 +0100 Subject: [PATCH] Aqua CI --- test/Project.toml | 2 ++ test/qa.jl | 11 +++++++++++ test/runtests.jl | 1 + 3 files changed, 14 insertions(+) create mode 100644 test/qa.jl diff --git a/test/Project.toml b/test/Project.toml index 9d595da..cc78cbf 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,6 +1,8 @@ [deps] +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" StaticArrayInterface = "0d7ed370-da01-4f52-bd93-41d350b8b718" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] +Aqua = "0.8" StaticArrayInterface = "1" diff --git a/test/qa.jl b/test/qa.jl new file mode 100644 index 0000000..511ca9b --- /dev/null +++ b/test/qa.jl @@ -0,0 +1,11 @@ +using EllipsisNotation, Aqua +@testset "Aqua" begin + Aqua.find_persistent_tasks_deps(EllipsisNotation) + Aqua.test_ambiguities(EllipsisNotation, recursive = false) + Aqua.test_deps_compat(EllipsisNotation) + Aqua.test_piracies(EllipsisNotation) + Aqua.test_project_extras(EllipsisNotation) + Aqua.test_stale_deps(EllipsisNotation) + Aqua.test_unbound_args(EllipsisNotation) + Aqua.test_undefined_exports(EllipsisNotation) +end diff --git a/test/runtests.jl b/test/runtests.jl index 44b389b..1a99924 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2,6 +2,7 @@ using StaticArrayInterface using EllipsisNotation using Test +include("qa.jl") include("basic.jl") include("more_generic.jl") include("cartesian.jl")