Skip to content

Commit 0b4092e

Browse files
authored
Merge pull request #1098 from isaacsas/update_tests
fix tests
2 parents 1b34c61 + dc06227 commit 0b4092e

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/Test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- "pre"
3131
group:
3232
- Core
33+
- IO
3334
- Spatial
3435
- Extensions
3536
uses: "SciML/.github/.github/workflows/tests.yml@v1"

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Parameters = "0.12"
6262
Reexport = "0.2, 1.0"
6363
Requires = "1.0"
6464
RuntimeGeneratedFunctions = "0.5.12"
65-
SciMLBase = "2.46"
65+
SciMLBase = "< 2.57.2"
6666
Setfield = "1"
6767
# StructuralIdentifiability = "0.5.8"
6868
SymbolicUtils = "2.1.2, 3.3.0"

test/compositional_modelling/component_based_model_creation.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ end
267267
# Adding algebraic constraints.
268268
let
269269
@parameters t, r₊, r₋, β
270-
@species A(t), B(t), C(t), D(t)
270+
@species A(t), B(t), C(t)
271+
@variables D(t)
271272
rxs1 = [Reaction(r₊, [A, B], [C])]
272273
rxs2 = [Reaction(r₋, [C], [A, B])]
273274
@named rs1 = ReactionSystem(rxs1, t, [A, B, C], [r₊])

test/runtests.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ end
3838
@time @safetestset "Units" begin include("miscellaneous_tests/units.jl") end
3939
@time @safetestset "Compound Species" begin include("miscellaneous_tests/compound_macro.jl") end
4040
@time @safetestset "Reaction Balancing" begin include("miscellaneous_tests/reaction_balancing.jl") end
41-
@time @safetestset "ReactionSystem Serialisation" begin include("miscellaneous_tests/reactionsystem_serialisation.jl") end
4241

4342
# Tests reaction network analysis features.
4443
@time @safetestset "Conservation Laws" begin include("network_analysis/conservation_laws.jl") end
@@ -54,9 +53,13 @@ end
5453
# Tests upstream SciML and DiffEq stuff.
5554
@time @safetestset "MTK Structure Indexing" begin include("upstream/mtk_structure_indexing.jl") end
5655
@time @safetestset "MTK Problem Inputs" begin include("upstream/mtk_problem_inputs.jl") end
56+
end
5757

58-
# Tests network visualisation.
58+
if GROUP == "All" || GROUP == "IO"
59+
# @time @safetestset "ReactionSystem Serialisation" begin include("miscellaneous_tests/reactionsystem_serialisation.jl") end
5960
# @time @safetestset "Latexify" begin include("visualisation/latexify.jl") end
61+
62+
# Tests network visualisation.
6063
# Disable on Macs as can't install GraphViz via jll
6164
if !Sys.isapple()
6265
@time @safetestset "Graphs Visualisations" begin include("visualisation/graphs.jl") end

0 commit comments

Comments
 (0)