Skip to content

Commit 9b5cbd3

Browse files
committed
Aqua CI
1 parent f343932 commit 9b5cbd3

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

Project.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,22 @@ ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
1212
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
1313

1414
[compat]
15+
Aqua = "0.8"
1516
ChainRulesCore = "1"
17+
ControlSystemsBase = "1"
18+
DataInterpolations = "4"
1619
DiffEqBase = "6"
1720
IfElse = "0.1"
21+
LinearAlgebra = "1"
1822
ModelingToolkit = "8.67"
23+
OrdinaryDiffEq = "6"
24+
SafeTestsets = "0.1"
1925
Symbolics = "4.9, 5"
26+
Test = "1"
2027
julia = "1.6"
2128

2229
[extras]
30+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
2331
ControlSystemsBase = "aaaaaaaa-a6ca-5380-bf3e-84a91bcd477e"
2432
DataInterpolations = "82cc6244-b520-54b8-b5a6-8a565e85f1d0"
2533
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
@@ -28,4 +36,4 @@ SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
2836
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2937

3038
[targets]
31-
test = ["LinearAlgebra", "OrdinaryDiffEq", "SafeTestsets", "Test", "ControlSystemsBase", "DataInterpolations"]
39+
test = ["Aqua", "LinearAlgebra", "OrdinaryDiffEq", "SafeTestsets", "Test", "ControlSystemsBase", "DataInterpolations"]

test/qa.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using ModelingToolkitStandardLibrary, Aqua
2+
@testset "Aqua" begin
3+
Aqua.find_persistent_tasks_deps(ModelingToolkitStandardLibrary)
4+
Aqua.test_ambiguities(ModelingToolkitStandardLibrary, recursive = false)
5+
Aqua.test_deps_compat(ModelingToolkitStandardLibrary)
6+
Aqua.test_piracies(ModelingToolkitStandardLibrary)
7+
Aqua.test_project_extras(ModelingToolkitStandardLibrary)
8+
Aqua.test_stale_deps(ModelingToolkitStandardLibrary)
9+
Aqua.test_unbound_args(ModelingToolkitStandardLibrary)
10+
Aqua.test_undefined_exports(ModelingToolkitStandardLibrary)
11+
end

test/runtests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
using SafeTestsets
22

3+
@safetestset "Quality Assurance" begin
4+
include("qa.jl")
5+
end
6+
37
# Blocks
48
@safetestset "Blocks: math" begin
59
include("Blocks/math.jl")

0 commit comments

Comments
 (0)