Skip to content

Commit

Permalink
Aqua CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen committed Dec 15, 2023
1 parent d111578 commit 63cec0f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,33 +32,44 @@ UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed"

[compat]
Adapt = "3"
Aqua = "0.8"
ArrayInterface = "6, 7"
DataStructures = "0.18"
DiffEqBase = "6.130.1"
DiffEqCallbacks = "2"
DiffEqDevTools = "2"
DiffEqNoiseProcess = "5.13"
DocStringExtensions = "0.8, 0.9"
FiniteDiff = "2"
ForwardDiff = "0.10.3"
JumpProcesses = "9"
LevyArea = "1.0.0"
LinearAlgebra = "1.6"
LinearSolve = "2"
Logging = "1.6"
ModelingToolkit = "8"
MuladdMacro = "0.2.1"
NLsolve = "4"
OrdinaryDiffEq = "6.52"
Pkg = "1"
Random = "1.6"
RandomNumbers = "1.5.3"
RecursiveArrayTools = "2, 3"
Reexport = "0.2, 1.0"
SDEProblemLibrary = "0.1"
SafeTestsets = "0.1"
SciMLBase = "2.0.6"
SciMLOperators = "0.2.9, 0.3"
SparseArrays = "1.6"
SparseDiffTools = "2"
StaticArrays = "0.11, 0.12, 1.0"
Statistics = "1"
Test = "1"
UnPack = "0.1, 1.0"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d"
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
Expand All @@ -71,4 +82,4 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["DiffEqCallbacks", "DiffEqDevTools", "SDEProblemLibrary", "LinearSolve", "ModelingToolkit", "Pkg", "SafeTestsets", "SparseArrays", "Statistics", "Test"]
test = ["Aqua", "DiffEqCallbacks", "DiffEqDevTools", "SDEProblemLibrary", "LinearSolve", "ModelingToolkit", "Pkg", "SafeTestsets", "SparseArrays", "Statistics", "Test"]
13 changes: 13 additions & 0 deletions test/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using StochasticDiffEq, Aqua
@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(StochasticDiffEq)
Aqua.test_ambiguities(StochasticDiffEq, recursive = false)
Aqua.test_deps_compat(StochasticDiffEq)
Aqua.test_piracies(StochasticDiffEq,
treat_as_own = [StochasticDiffEq.JumpProcesses.JumpProblem,
StochasticDiffEq.SciMLBase.AbstractRODEProblem])
Aqua.test_project_extras(StochasticDiffEq)
Aqua.test_stale_deps(StochasticDiffEq)
Aqua.test_unbound_args(StochasticDiffEq)
Aqua.test_undefined_exports(StochasticDiffEq)
end
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const is_APPVEYOR = Sys.iswindows() && haskey(ENV,"APPVEYOR")

@time begin
if GROUP == "All" || GROUP == "Interface1"
@time @safetestset "Quality Assurance" begin include("qa.jl") end
@time @safetestset "First Rand Tests" begin include("first_rand_test.jl") end
@time @safetestset "Inference Tests" begin include("inference_test.jl") end
@time @safetestset "Linear RODE Tests" begin include("rode_linear_tests.jl") end
Expand Down

0 comments on commit 63cec0f

Please sign in to comment.