Skip to content

Commit 1c12df5

Browse files
authored
Ignore RecipesBase ambiguity in Aqua.jl checks (#192)
* ignore apply_recipe ambiguity * add RecipesBase dep * semicolon * specify test dep compat * Aqua first * fix toml
1 parent 7ad3b3c commit 1c12df5

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

Project.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,22 @@ GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f"
1111
GeoInterfaceRecipes = "0329782f-3d07-4b52-b9f6-d3137cf03c7a"
1212

1313
[compat]
14+
Aqua = "0.8"
1415
CEnum = "0.2, 0.3, 0.4, 0.5"
1516
Extents = "0.1.1"
1617
GEOS_jll = "3.12"
1718
GeoInterface = "1"
1819
GeoInterfaceRecipes = "1"
20+
Plots = "1"
21+
RecipesBase = "1"
22+
Test = "1"
1923
julia = "1.6"
2024

2125
[extras]
2226
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
2327
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
28+
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
2429
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2530

2631
[targets]
27-
test = ["Aqua", "Plots", "Test"]
32+
test = ["Aqua", "Plots", "RecipesBase", "Test"]

test/runtests.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using GeoInterface, Extents
2-
using Test, LibGEOS
2+
using Test, LibGEOS, RecipesBase
33
import Aqua
44

55
version = LibGEOS.GEOSversion()
@@ -14,6 +14,9 @@ if version != LibGEOS.GEOS_CAPI_VERSION
1414
end
1515

1616
@testset "LibGEOS" begin
17+
Aqua.test_all(LibGEOS;
18+
ambiguities=(exclude=[RecipesBase.apply_recipe],),
19+
)
1720
include("test_geos_types.jl")
1821
include("test_geos_functions.jl")
1922
include("test_geos_operations.jl")
@@ -22,5 +25,4 @@ end
2225
include("test_invalid_geometry.jl")
2326
include("test_strtree.jl")
2427
include("test_misc.jl")
25-
Aqua.test_all(LibGEOS)
2628
end

0 commit comments

Comments
 (0)