Skip to content

Commit

Permalink
Add Aqua automatic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Jun 13, 2022
1 parent 9716ad5 commit cb489af
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ repo = "https://github.com/JuliaControl/ControlSystems.jl.git"
version = "0.12.13"

[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
DelayDiffEq = "bcd4f6db-9728-5f36-b5f7-82caef46ccdb"
Expand All @@ -24,6 +25,7 @@ RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[compat]
Aqua = "0.5"
Colors = "0.9.2, 0.10, 0.11, 0.12"
DSP = "0.6.1, 0.7"
DelayDiffEq = "5.31"
Expand Down
9 changes: 9 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ using Test, LinearAlgebra, Random
import Base.isapprox # In framework and test_synthesis
import SparseArrays: sparse # In test_matrix_comps
import DSP: conv # In test_conversion and test_synthesis
using Aqua
@testset "Aqua" begin
Aqua.test_all(ControlSystems;
ambiguities = false, # casues 100s of hits in all dependencies
stale_deps = false, # Aqua complains about itself https://github.com/JuliaTesting/Aqua.jl/issues/78
)
end


include("framework.jl")

my_tests = [
Expand Down

0 comments on commit cb489af

Please sign in to comment.