Skip to content

Commit

Permalink
Ignore RecipesBase ambiguity in Aqua.jl checks (#192)
Browse files Browse the repository at this point in the history
* ignore apply_recipe ambiguity

* add RecipesBase dep

* semicolon

* specify test dep compat

* Aqua first

* fix toml
  • Loading branch information
rafaqz authored Jan 1, 2024
1 parent 7ad3b3c commit 1c12df5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,22 @@ GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f"
GeoInterfaceRecipes = "0329782f-3d07-4b52-b9f6-d3137cf03c7a"

[compat]
Aqua = "0.8"
CEnum = "0.2, 0.3, 0.4, 0.5"
Extents = "0.1.1"
GEOS_jll = "3.12"
GeoInterface = "1"
GeoInterfaceRecipes = "1"
Plots = "1"
RecipesBase = "1"
Test = "1"
julia = "1.6"

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

[targets]
test = ["Aqua", "Plots", "Test"]
test = ["Aqua", "Plots", "RecipesBase", "Test"]
6 changes: 4 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using GeoInterface, Extents
using Test, LibGEOS
using Test, LibGEOS, RecipesBase
import Aqua

version = LibGEOS.GEOSversion()
Expand All @@ -14,6 +14,9 @@ if version != LibGEOS.GEOS_CAPI_VERSION
end

@testset "LibGEOS" begin
Aqua.test_all(LibGEOS;
ambiguities=(exclude=[RecipesBase.apply_recipe],),
)
include("test_geos_types.jl")
include("test_geos_functions.jl")
include("test_geos_operations.jl")
Expand All @@ -22,5 +25,4 @@ end
include("test_invalid_geometry.jl")
include("test_strtree.jl")
include("test_misc.jl")
Aqua.test_all(LibGEOS)
end

0 comments on commit 1c12df5

Please sign in to comment.