Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
using Pkg
using Test, LinearAlgebra, Random
using Aqua
# @testset "Aqua" begin
# Aqua.test_all(ControlSystems;
# ambiguities = false, # causes 100s of hits in all dependencies
# stale_deps = true, # Aqua complains about itself https://github.com/JuliaTesting/Aqua.jl/issues/78
# )
# end

# Helper to call dev on one of the packages in folder /lib
function dev_subpkg(subpkg)
Expand All @@ -29,6 +23,14 @@ if GROUP == "All"
subpkg_path = joinpath(dirname(@__DIR__), "lib", GROUP)
Pkg.test(PackageSpec(name = GROUP, path = subpkg_path), coverage = true)
end
@testset "Aqua" begin
import ControlSystems
Aqua.test_all(ControlSystems;
ambiguities = false, # causes 100s of hits in all dependencies
stale_deps = true,
)
end

elseif GROUP != "ControlSystems"
# dev_subpkg(GROUP) # Do this if more sub packages are added, don't forget to avoid doing it if GROUP is CSBase
subpkg_path = joinpath(dirname(@__DIR__), "lib", GROUP)
Expand Down
Loading