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 19f1fc1 commit a04564d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/Aqua.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using ReachabilityAnalysis, Test
import Aqua

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

# do not warn about ambiguities in dependencies
# the ambiguities should be resolved in the future
Aqua.test_ambiguities(ReachabilityAnalysis; broken=true)

# the unbound args should be resolved in the future
Aqua.test_unbound_args(ReachabilityAnalysis; broken=true)

# the piracies should be resolved in the future
Aqua.test_piracies(ReachabilityAnalysis; broken=true)
end
2 changes: 2 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
CDDLib = "3391f64e-dcde-5f30-b752-e11513730f60"
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
DynamicPolynomials = "7c1d4256-1411-5781-91ec-d7bc3513ac07"
Expand All @@ -20,6 +21,7 @@ TaylorModels = "314ce334-5f6e-57ae-acf6-00b6e903104a"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Aqua = "0.8"
CDDLib = "0.5 - 0.9"
DifferentialEquations = "6.17, 7"
DynamicPolynomials = "0.3 - 0.5"
Expand Down
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ TEST_ALGORITHMS = ["algorithms/INT.jl",
foreach(include, TEST_MODELS)
foreach(include, TEST_FILES)
foreach(include, TEST_ALGORITHMS)

include("Aqua.jl")

0 comments on commit a04564d

Please sign in to comment.