Skip to content

Commit

Permalink
Aqua CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen committed Nov 29, 2023
1 parent 32654d6 commit 5011683
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ MTKBifurcationKitExt = "BifurcationKit"
MTKDeepDiffsExt = "DeepDiffs"

[compat]
Aqua = "0.8"
AbstractTrees = "0.3, 0.4"
ArrayInterface = "6, 7"
Combinatorics = "1"
Expand Down Expand Up @@ -108,6 +109,7 @@ julia = "1.9"

[extras]
AmplNLWriter = "7c4d4715-977e-5154-bfe0-e096adeac482"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
BifurcationKit = "0f109fa4-8a5d-4b75-95aa-f515264e7665"
ControlSystemsMTK = "687d7614-c7e5-45fc-bfc3-9ee385575c88"
Expand All @@ -132,4 +134,4 @@ Sundials = "c3572dad-4567-51f8-b174-8c6c989267f4"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["AmplNLWriter", "BenchmarkTools", "BifurcationKit", "ControlSystemsMTK", "NonlinearSolve", "ForwardDiff", "Ipopt", "Ipopt_jll", "ModelingToolkitStandardLibrary", "Optimization", "OptimizationOptimJL", "OptimizationMOI", "Random", "ReferenceTests", "SafeTestsets", "StableRNGs", "Statistics", "SteadyStateDiffEq", "Test", "StochasticDiffEq", "Sundials", "StochasticDelayDiffEq"]
test = ["AmplNLWriter", "Aqua", "BenchmarkTools", "BifurcationKit", "ControlSystemsMTK", "NonlinearSolve", "ForwardDiff", "Ipopt", "Ipopt_jll", "ModelingToolkitStandardLibrary", "Optimization", "OptimizationOptimJL", "OptimizationMOI", "Random", "ReferenceTests", "SafeTestsets", "StableRNGs", "Statistics", "SteadyStateDiffEq", "Test", "StochasticDiffEq", "Sundials", "StochasticDelayDiffEq"]
12 changes: 12 additions & 0 deletions test/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using ModelingToolkit, Aqua
@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(ModelingToolkit)
Aqua.test_ambiguities(ModelingToolkit, recursive = false)
Aqua.test_deps_compat(ModelingToolkit)
Aqua.test_piracies(ModelingToolkit,
treat_as_own = [])
Aqua.test_project_extras(ModelingToolkit)
Aqua.test_stale_deps(ModelingToolkit)
Aqua.test_unbound_args(ModelingToolkit)
Aqua.test_undefined_exports(ModelingToolkit)
end
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using SafeTestsets, Test

@safetestset "Quality Assurance" include("qa.jl")
@safetestset "Linear Algebra Test" include("linalg.jl")
@safetestset "AbstractSystem Test" include("abstractsystem.jl")
@safetestset "Variable Scope Tests" include("variable_scope.jl")
Expand Down

0 comments on commit 5011683

Please sign in to comment.