Skip to content
Closed
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
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ODEInterface = "0.5"
ODEProblemLibrary = "1"
Pkg = "1"
Reexport = "1.2.2"
SafeTestsets = "0.1, 1"
SciMLBase = "3.1"
SciMLLogging = "1.10.1, 2"
SymbolicIndexingInterface = "0.3"
Expand All @@ -38,8 +39,9 @@ ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["ExplicitImports", "ModelingToolkit", "NonlinearSolve", "SymbolicIndexingInterface", "Test", "ODEProblemLibrary", "Pkg"]
test = ["ExplicitImports", "ModelingToolkit", "NonlinearSolve", "SafeTestsets", "SymbolicIndexingInterface", "Test", "ODEProblemLibrary", "Pkg"]
2 changes: 2 additions & 0 deletions test/qa/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
ODEInterfaceDiffEq = "09606e27-ecf5-54fc-bb29-004bd9f985bf"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
Expand All @@ -10,5 +11,6 @@ ODEInterfaceDiffEq = { path = "../.." }
[compat]
Aqua = "0.8"
JET = "0.9,0.10,0.11"
SafeTestsets = "0.1, 1"
Test = "1"
julia = "1.10"
9 changes: 5 additions & 4 deletions test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
using ODEInterfaceDiffEq, Aqua, JET
using Test
using SafeTestsets

@testset "Aqua" begin
@safetestset "Aqua" begin
using ODEInterfaceDiffEq, Aqua, Test
# deps_compat disabled: ODEInterfaceDiffEq does not declare a compat entry
# for the LinearAlgebra stdlib dependency. Tracked in
# https://github.com/SciML/ODEInterfaceDiffEq.jl/issues/105
Aqua.test_all(ODEInterfaceDiffEq; deps_compat = false)
@test_broken false # Aqua deps compat: missing compat entry for LinearAlgebra dep — tracked in https://github.com/SciML/ODEInterfaceDiffEq.jl/issues/105
end

@testset "JET" begin
@safetestset "JET" begin
using ODEInterfaceDiffEq, JET, Test
# JET.test_package reports an undefined-binding error
# (ODEInterfaceDiffEq.uBottomEltype in src/solve.jl). Tracked in
# https://github.com/SciML/ODEInterfaceDiffEq.jl/issues/105
Expand Down
18 changes: 9 additions & 9 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
using ODEInterfaceDiffEq, DiffEqBase
using Test
using SafeTestsets, Test

const GROUP = get(ENV, "GROUP", "All")

if GROUP == "All" || GROUP == "Core"
@time @testset "Explicit Imports" begin
@time @safetestset "Explicit Imports" begin
include("explicit_imports.jl")
end
@time @testset "Algorithms" begin
@time @safetestset "Algorithms" begin
include("algorithm_tests.jl")
end
@time @testset "Saving" begin
@time @safetestset "Saving" begin
include("saving_tests.jl")
end
@time @testset "Mass Matrix" begin
@time @safetestset "Mass Matrix" begin
include("mass_matrix_tests.jl")
end
@time @testset "Jacobian Tests" begin
@time @safetestset "Jacobian Tests" begin
include("jac_tests.jl")
end
@time @testset "Callback Tests" begin
@time @safetestset "Callback Tests" begin
include("callbacks.jl")
end
@time @testset "Initialization Tests" begin
@time @safetestset "Initialization Tests" begin
include("initialization_tests.jl")
end
@time @testset "MTK Initialization Tests" begin
@time @safetestset "MTK Initialization Tests" begin
include("mtk_initialization_tests.jl")
end
end
Expand Down
Loading