diff --git a/test/downstream/Project.toml b/test/downstream/Project.toml index e6c4ae017c..7b6c99f687 100644 --- a/test/downstream/Project.toml +++ b/test/downstream/Project.toml @@ -2,6 +2,7 @@ ControlSystemsMTK = "687d7614-c7e5-45fc-bfc3-9ee385575c88" DataInterpolations = "82cc6244-b520-54b8-b5a6-8a565e85f1d0" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae" ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78" ModelingToolkitStandardLibrary = "16a59e39-deab-5bd0-87e4-056b12336739" NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec" @@ -17,6 +18,7 @@ SimpleDiffEq = "05bca326-078c-5bf0-a5bf-ce7c7982d7fd" SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" [compat] +LinearSolve = "3.66" ModelingToolkitStandardLibrary = "2.19" SafeTestsets = "0.1, 1" SciMLTesting = "1" diff --git a/test/qa/Project.toml b/test/qa/Project.toml index b3001cc694..6a08fb4f85 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -4,6 +4,7 @@ JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" +TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [sources] @@ -14,5 +15,6 @@ Aqua = "0.8" JET = "0.9,0.10,0.11" SafeTestsets = "0.1, 1" SciMLTesting = "1" +TOML = "1" Test = "1" julia = "1.10" diff --git a/test/qa/qa.jl b/test/qa/qa.jl index fc7cf5a9aa..742b1fc00b 100644 --- a/test/qa/qa.jl +++ b/test/qa/qa.jl @@ -2,6 +2,16 @@ using ModelingToolkit using Aqua using JET using SciMLTesting +using TOML +using Test + +@testset "Downstream LinearSolve compatibility" begin + root_project = TOML.parsefile(joinpath(@__DIR__, "..", "..", "Project.toml")) + downstream_project = TOML.parsefile(joinpath(@__DIR__, "..", "downstream", "Project.toml")) + + @test downstream_project["deps"]["LinearSolve"] == root_project["extras"]["LinearSolve"] + @test downstream_project["compat"]["LinearSolve"] == root_project["compat"]["LinearSolve"] +end run_qa( ModelingToolkit;