Skip to content

Commit

Permalink
add Aqua to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed Feb 23, 2024
1 parent b594e7b commit 15bec13
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/Aqua.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using SpaceExParser, Test
import Aqua

@testset "Aqua tests" begin
Aqua.test_all(SpaceExParser; ambiguities=false, piracies=false)

# do not warn about ambiguities in dependencies
Aqua.test_ambiguities(SpaceExParser)

# the piracies should be resolved in the future
Aqua.test_piracies(SpaceExParser; broken=true)
end
2 changes: 2 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"
HybridSystems = "2207ec0c-686c-5054-b4d2-543502888820"
LazySets = "b4f0291d-fe17-52bc-9479-3d1a343d9043"
MathematicalSystems = "d14a8603-c872-5ed3-9ece-53e0e82e39da"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Aqua = "0.8"
EzXML = "1"
HybridSystems = "0.4"
LazySets = "1, 2"
Expand Down
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ using Test, SpaceExParser, HybridSystems, MathematicalSystems
include("unit_examples.jl")
include("unit_parse.jl")
include("unit_affine.jl")

include("Aqua.jl")

0 comments on commit 15bec13

Please sign in to comment.