diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index b6328c8d6d..64ec46ea9c 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -30,6 +30,7 @@ jobs: - "pre" group: - Core + - IO - Spatial - Extensions uses: "SciML/.github/.github/workflows/tests.yml@v1" diff --git a/Project.toml b/Project.toml index e87278e3d7..4f8d245690 100644 --- a/Project.toml +++ b/Project.toml @@ -62,7 +62,7 @@ Parameters = "0.12" Reexport = "0.2, 1.0" Requires = "1.0" RuntimeGeneratedFunctions = "0.5.12" -SciMLBase = "2.46" +SciMLBase = "< 2.57.2" Setfield = "1" # StructuralIdentifiability = "0.5.8" SymbolicUtils = "2.1.2, 3.3.0" diff --git a/test/compositional_modelling/component_based_model_creation.jl b/test/compositional_modelling/component_based_model_creation.jl index 94852cd4cc..0da1da2665 100644 --- a/test/compositional_modelling/component_based_model_creation.jl +++ b/test/compositional_modelling/component_based_model_creation.jl @@ -267,7 +267,8 @@ end # Adding algebraic constraints. let @parameters t, r₊, r₋, β - @species A(t), B(t), C(t), D(t) + @species A(t), B(t), C(t) + @variables D(t) rxs1 = [Reaction(r₊, [A, B], [C])] rxs2 = [Reaction(r₋, [C], [A, B])] @named rs1 = ReactionSystem(rxs1, t, [A, B, C], [r₊]) diff --git a/test/runtests.jl b/test/runtests.jl index ab3afab8c9..de67af08be 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -38,7 +38,6 @@ end @time @safetestset "Units" begin include("miscellaneous_tests/units.jl") end @time @safetestset "Compound Species" begin include("miscellaneous_tests/compound_macro.jl") end @time @safetestset "Reaction Balancing" begin include("miscellaneous_tests/reaction_balancing.jl") end - @time @safetestset "ReactionSystem Serialisation" begin include("miscellaneous_tests/reactionsystem_serialisation.jl") end # Tests reaction network analysis features. @time @safetestset "Conservation Laws" begin include("network_analysis/conservation_laws.jl") end @@ -54,9 +53,13 @@ end # Tests upstream SciML and DiffEq stuff. @time @safetestset "MTK Structure Indexing" begin include("upstream/mtk_structure_indexing.jl") end @time @safetestset "MTK Problem Inputs" begin include("upstream/mtk_problem_inputs.jl") end + end - # Tests network visualisation. + if GROUP == "All" || GROUP == "IO" + # @time @safetestset "ReactionSystem Serialisation" begin include("miscellaneous_tests/reactionsystem_serialisation.jl") end # @time @safetestset "Latexify" begin include("visualisation/latexify.jl") end + + # Tests network visualisation. # Disable on Macs as can't install GraphViz via jll if !Sys.isapple() @time @safetestset "Graphs Visualisations" begin include("visualisation/graphs.jl") end