Skip to content
Draft
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ DDEProblemLibrary = "0.1"
JumpProblemLibrary = "1, 2.0"
NonlinearProblemLibrary = "0.1"
ODEProblemLibrary = "1"
Pkg = "1.10"
SafeTestsets = "0.1"
SciMLTesting = "1"
SciMLTesting = "1.6"
SDEProblemLibrary = "1"
Test = "1.10"
julia = "1.10"
Expand Down
4 changes: 3 additions & 1 deletion lib/BVProblemLibrary/src/BVProblemLibrary.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module BVProblemLibrary

using DiffEqBase, Markdown, SpecialFunctions
using DiffEqBase: DiffEqBase, BVPFunction, BVProblem
using Markdown: Markdown
using SpecialFunctions: SpecialFunctions, erf

include("linear.jl")
include("nonlinear.jl")
Expand Down
2 changes: 2 additions & 0 deletions lib/BVProblemLibrary/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BVProblemLibrary = "ded0fc24-dfea-4565-b1d9-79c027d14d84"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
Expand All @@ -9,5 +10,6 @@ BVProblemLibrary = {path = "../.."}
[compat]
Aqua = "0.8"
BVProblemLibrary = "0.1"
SciMLTesting = "1.6"
Test = "1.10"
julia = "1.10"
7 changes: 2 additions & 5 deletions lib/BVProblemLibrary/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using BVProblemLibrary
using Aqua
using SciMLTesting, BVProblemLibrary, Test

@testset "Aqua" begin
Aqua.test_all(BVProblemLibrary; ambiguities = false)
end
run_qa(BVProblemLibrary; explicit_imports = true, aqua_kwargs = (; ambiguities = false))
3 changes: 2 additions & 1 deletion lib/DAEProblemLibrary/src/DAEProblemLibrary.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module DAEProblemLibrary

using DiffEqBase, Markdown
using DiffEqBase: DiffEqBase, DAEProblem
using Markdown: Markdown, @doc_str

#DAE Example Problems
export prob_dae_resrob, prob_dae_transamp
Expand Down
2 changes: 2 additions & 0 deletions lib/DAEProblemLibrary/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
DAEProblemLibrary = "dfb8ca35-80a1-48ba-a605-84916a45b4f8"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
Expand All @@ -9,5 +10,6 @@ DAEProblemLibrary = {path = "../.."}
[compat]
Aqua = "0.8"
DAEProblemLibrary = "0.1"
SciMLTesting = "1.6"
Test = "1.10"
julia = "1.10"
7 changes: 2 additions & 5 deletions lib/DAEProblemLibrary/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using DAEProblemLibrary
using Aqua
using SciMLTesting, DAEProblemLibrary, Test

@testset "Aqua" begin
Aqua.test_all(DAEProblemLibrary; ambiguities = false)
end
run_qa(DAEProblemLibrary; explicit_imports = true, aqua_kwargs = (; ambiguities = false))
2 changes: 1 addition & 1 deletion lib/DDEProblemLibrary/src/DDEProblemLibrary.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module DDEProblemLibrary

using DiffEqBase
using DiffEqBase: DiffEqBase, DDEFunction, DDEProblem, remake
# DDE Example Problems

# examples with constant delays
Expand Down
2 changes: 2 additions & 0 deletions lib/DDEProblemLibrary/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
DDEProblemLibrary = "f42792ee-6ffc-4e2a-ae83-8ee2f22de800"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
Expand All @@ -9,5 +10,6 @@ DDEProblemLibrary = {path = "../.."}
[compat]
Aqua = "0.8"
DDEProblemLibrary = "0.1"
SciMLTesting = "1.6"
Test = "1.10"
julia = "1.10"
7 changes: 2 additions & 5 deletions lib/DDEProblemLibrary/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using DDEProblemLibrary
using Aqua
using SciMLTesting, DDEProblemLibrary, Test

@testset "Aqua" begin
Aqua.test_all(DDEProblemLibrary; ambiguities = false)
end
run_qa(DDEProblemLibrary; explicit_imports = true, aqua_kwargs = (; ambiguities = false))
4 changes: 3 additions & 1 deletion lib/JumpProblemLibrary/src/JumpProblemLibrary.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module JumpProblemLibrary

using Catalyst
using Catalyst: Catalyst, @named, @parameters, @reaction_network, @species, Num,
Reaction, ReactionSystem, complete, default_t, hill, make_empty_network,
species, unknowns

import RuntimeGeneratedFunctions
RuntimeGeneratedFunctions.init(@__MODULE__)
Expand Down
2 changes: 2 additions & 0 deletions lib/JumpProblemLibrary/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JumpProblemLibrary = "faf0f6d7-8cee-47cb-b27c-1eb80cef534e"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
Expand All @@ -9,5 +10,6 @@ JumpProblemLibrary = {path = "../.."}
[compat]
Aqua = "0.8"
JumpProblemLibrary = "2"
SciMLTesting = "1.6"
Test = "1.10"
julia = "1.10"
14 changes: 9 additions & 5 deletions lib/JumpProblemLibrary/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
using JumpProblemLibrary
using Aqua
using SciMLTesting, JumpProblemLibrary, Test

@testset "Aqua" begin
Aqua.test_all(JumpProblemLibrary; ambiguities = false, persistent_tasks = false)
end
# `RuntimeGeneratedFunctions.init(@__MODULE__)` qualified-accesses the non-public
# `RuntimeGeneratedFunctions.init` (the package's documented init boilerplate), so it
# is ignored for the public-API qualified-access check.
run_qa(
JumpProblemLibrary; explicit_imports = true,
aqua_kwargs = (; ambiguities = false, persistent_tasks = false),
ei_kwargs = (; all_qualified_accesses_are_public = (; ignore = (:init,)))
)
3 changes: 2 additions & 1 deletion lib/NonlinearProblemLibrary/src/NonlinearProblemLibrary.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module NonlinearProblemLibrary

using SciMLBase, LinearAlgebra
using SciMLBase: SciMLBase, NonlinearProblem
using LinearAlgebra: LinearAlgebra

# Implementation of the 23 test problems in
# [test_nonlin](https://people.sc.fsu.edu/~jburkardt/m_src/test_nonlin/test_nonlin.html)
Expand Down
2 changes: 2 additions & 0 deletions lib/NonlinearProblemLibrary/test/qa/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
AllocCheck = "9b6a8646-10ed-4001-bbdc-1d2f46dfbb1a"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
NonlinearProblemLibrary = "b7050fa9-e91f-4b37-bcee-a89a063da141"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
Expand All @@ -11,5 +12,6 @@ NonlinearProblemLibrary = {path = "../.."}
AllocCheck = "0.2"
Aqua = "0.8"
NonlinearProblemLibrary = "0.1"
SciMLTesting = "1.6"
Test = "1"
julia = "1.10"
7 changes: 2 additions & 5 deletions lib/NonlinearProblemLibrary/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using NonlinearProblemLibrary
using Aqua
using SciMLTesting, NonlinearProblemLibrary, Test

@testset "Aqua" begin
Aqua.test_all(NonlinearProblemLibrary; ambiguities = false)
end
run_qa(NonlinearProblemLibrary; explicit_imports = true, aqua_kwargs = (; ambiguities = false))
8 changes: 4 additions & 4 deletions lib/ODEProblemLibrary/src/ODEProblemLibrary.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module ODEProblemLibrary

using DiffEqBase
using LinearAlgebra
using Markdown
using Random
using DiffEqBase: DiffEqBase, ODEFunction, ODEProblem
using LinearAlgebra: LinearAlgebra, Diagonal, I, SymTridiagonal, diagind, ldiv!, mul!, rmul!
using Markdown: Markdown, @doc_str
using Random: Random

Random.seed!(100)

Expand Down
2 changes: 2 additions & 0 deletions lib/ODEProblemLibrary/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
Expand All @@ -9,5 +10,6 @@ ODEProblemLibrary = {path = "../.."}
[compat]
Aqua = "0.8"
ODEProblemLibrary = "1"
SciMLTesting = "1.6"
Test = "1.10"
julia = "1.10"
7 changes: 2 additions & 5 deletions lib/ODEProblemLibrary/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using ODEProblemLibrary
using Aqua
using SciMLTesting, ODEProblemLibrary, Test

@testset "Aqua" begin
Aqua.test_all(ODEProblemLibrary; ambiguities = false)
end
run_qa(ODEProblemLibrary; explicit_imports = true, aqua_kwargs = (; ambiguities = false))
3 changes: 2 additions & 1 deletion lib/SDEProblemLibrary/src/SDEProblemLibrary.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module SDEProblemLibrary

using DiffEqBase, Markdown
using DiffEqBase: DiffEqBase, SDEFunction, SDEProblem
using Markdown: Markdown, @doc_str

import RuntimeGeneratedFunctions
RuntimeGeneratedFunctions.init(@__MODULE__)
Expand Down
2 changes: 2 additions & 0 deletions lib/SDEProblemLibrary/test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
SDEProblemLibrary = "c72e72a9-a271-4b2b-8966-303ed956772e"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
Expand All @@ -9,5 +10,6 @@ SDEProblemLibrary = {path = "../.."}
[compat]
Aqua = "0.8"
SDEProblemLibrary = "1"
SciMLTesting = "1.6"
Test = "1.10"
julia = "1.10"
14 changes: 9 additions & 5 deletions lib/SDEProblemLibrary/test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
using SDEProblemLibrary
using Aqua
using SciMLTesting, SDEProblemLibrary, Test

@testset "Aqua" begin
Aqua.test_all(SDEProblemLibrary; ambiguities = false, persistent_tasks = false)
end
# `RuntimeGeneratedFunctions.init(@__MODULE__)` qualified-accesses the non-public
# `RuntimeGeneratedFunctions.init` (the package's documented init boilerplate), so it
# is ignored for the public-API qualified-access check.
run_qa(
SDEProblemLibrary; explicit_imports = true,
aqua_kwargs = (; ambiguities = false, persistent_tasks = false),
ei_kwargs = (; all_qualified_accesses_are_public = (; ignore = (:init,)))
)
4 changes: 1 addition & 3 deletions test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[deps]
DiffEqProblemLibrary = "a077e3f3-b75c-5d7f-a0c6-6bc4c8ec64a9"
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand All @@ -10,8 +9,7 @@ DiffEqProblemLibrary = {path = "../.."}

[compat]
DiffEqProblemLibrary = "5"
ExplicitImports = "1"
SafeTestsets = "0.0.1, 0.1"
SciMLTesting = "1"
SciMLTesting = "1.6"
Test = "1.10"
julia = "1.10"
15 changes: 5 additions & 10 deletions test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# The root umbrella package's own test: it re-exports each sublibrary,
# so the test is that the whole thing builds with no implicit or stale
# explicit imports.
using DiffEqProblemLibrary
using ExplicitImports
using Test
using SciMLTesting, DiffEqProblemLibrary, Test

@testset "ExplicitImports" begin
@test check_no_implicit_imports(DiffEqProblemLibrary) === nothing
@test check_no_stale_explicit_imports(DiffEqProblemLibrary) === nothing
end
# The root umbrella package re-exports each sublibrary; it owns no methods of its own,
# so the reported method ambiguities all come from the imported dependency tree
# (DiffEqBase / SciMLBase / Catalyst), matching the `ambiguities = false` each sublib uses.
run_qa(DiffEqProblemLibrary; explicit_imports = true, aqua_kwargs = (; ambiguities = false))
Loading