Skip to content

Commit 349e217

Browse files
authored
Merge pull request #1023 from JuliaControl/aquaplus
reactivate aqua tests
2 parents 26391e7 + 7f53621 commit 349e217

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

test/runtests.jl

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
using Pkg
22
using Test, LinearAlgebra, Random
33
using Aqua
4-
# @testset "Aqua" begin
5-
# Aqua.test_all(ControlSystems;
6-
# ambiguities = false, # causes 100s of hits in all dependencies
7-
# stale_deps = true, # Aqua complains about itself https://github.com/JuliaTesting/Aqua.jl/issues/78
8-
# )
9-
# end
104

115
# Helper to call dev on one of the packages in folder /lib
126
function dev_subpkg(subpkg)
@@ -29,6 +23,14 @@ if GROUP == "All"
2923
subpkg_path = joinpath(dirname(@__DIR__), "lib", GROUP)
3024
Pkg.test(PackageSpec(name = GROUP, path = subpkg_path), coverage = true)
3125
end
26+
@testset "Aqua" begin
27+
import ControlSystems
28+
Aqua.test_all(ControlSystems;
29+
ambiguities = false, # causes 100s of hits in all dependencies
30+
stale_deps = true,
31+
)
32+
end
33+
3234
elseif GROUP != "ControlSystems"
3335
# dev_subpkg(GROUP) # Do this if more sub packages are added, don't forget to avoid doing it if GROUP is CSBase
3436
subpkg_path = joinpath(dirname(@__DIR__), "lib", GROUP)

0 commit comments

Comments
 (0)