diff --git a/Project.toml b/Project.toml index fbff761..bab5cc8 100644 --- a/Project.toml +++ b/Project.toml @@ -9,10 +9,14 @@ Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46" Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999" [compat] +Adapt = "2, 3" +Setfield = "0.3, 0.4, 0.5, 0.6, 0.7" +Transducers = "0.4" julia = "1" [extras] +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Test"] +test = ["Aqua", "Test"] diff --git a/test/environments/jl10/Manifest.toml b/test/environments/jl10/Manifest.toml index b29fa8c..5ef94b7 100644 --- a/test/environments/jl10/Manifest.toml +++ b/test/environments/jl10/Manifest.toml @@ -4,6 +4,12 @@ git-tree-sha1 = "27edd95a09fd428113ca019c092e8aeca2eb1f2d" uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" version = "3.0.0" +[[Aqua]] +deps = ["Pkg", "Test"] +git-tree-sha1 = "b28b1f08e814090ef35eec6ab974264b3a93c862" +uuid = "4c88cf16-eb10-579e-8560-4a9242c79595" +version = "0.5.0" + [[ArgCheck]] git-tree-sha1 = "dedbbb2ddb876f899585c4ec4433265e3017215a" uuid = "dce04be8-c92d-5529-be00-80e4d2c0e197" diff --git a/test/environments/jl10/Project.toml b/test/environments/jl10/Project.toml index 85df747..88f22ed 100644 --- a/test/environments/jl10/Project.toml +++ b/test/environments/jl10/Project.toml @@ -1,4 +1,5 @@ [deps] +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999" UnionArrays = "d6dd79e4-993b-11e9-1366-0de1c9fe1122" diff --git a/test/environments/main/Manifest.toml b/test/environments/main/Manifest.toml index eb6ca5b..2035667 100644 --- a/test/environments/main/Manifest.toml +++ b/test/environments/main/Manifest.toml @@ -6,6 +6,12 @@ git-tree-sha1 = "ffcfa2d345aaee0ef3d8346a073d5dd03c983ebe" uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" version = "3.2.0" +[[Aqua]] +deps = ["Pkg", "Test"] +git-tree-sha1 = "b28b1f08e814090ef35eec6ab974264b3a93c862" +uuid = "4c88cf16-eb10-579e-8560-4a9242c79595" +version = "0.5.0" + [[ArgCheck]] git-tree-sha1 = "dedbbb2ddb876f899585c4ec4433265e3017215a" uuid = "dce04be8-c92d-5529-be00-80e4d2c0e197" diff --git a/test/environments/main/Project.toml b/test/environments/main/Project.toml index 85df747..88f22ed 100644 --- a/test/environments/main/Project.toml +++ b/test/environments/main/Project.toml @@ -1,4 +1,5 @@ [deps] +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999" UnionArrays = "d6dd79e4-993b-11e9-1366-0de1c9fe1122" diff --git a/test/test_aqua.jl b/test/test_aqua.jl new file mode 100644 index 0000000..432c3da --- /dev/null +++ b/test/test_aqua.jl @@ -0,0 +1,15 @@ +module TestAqua + +import Aqua +import UnionArrays +using Test + +# Default `Aqua.test_all(UnionArrays)` does not work due to ambiguities +# in upstream packages. +Aqua.test_all(UnionArrays; ambiguities = false) + +@testset "Method ambiguity" begin + Aqua.test_ambiguities(UnionArrays) +end + +end # module