From ed0c3adc4fcc794a46d255a0c3c74679f7cd8a05 Mon Sep 17 00:00:00 2001 From: ArnoStrouwen Date: Thu, 29 Feb 2024 14:48:50 +0100 Subject: [PATCH] Split off leaky tests set to own group See discussion https://github.com/SciML/SciMLSensitivity.jl/pull/1024 --- .github/workflows/CI.yml | 1 + test/runtests.jl | 17 +++++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 26051be68..f8b3c39da 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,6 +23,7 @@ jobs: - Core4 - Core5 - Core6 + - Core7 - SDE1 - SDE2 - SDE3 diff --git a/test/runtests.jl b/test/runtests.jl index 058b35cf0..12c63705d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -45,12 +45,6 @@ end @testset "Core 3" begin @time @safetestset "Adjoint Sensitivity" include("adjoint.jl") @time @safetestset "automatic sensealg choice" include("automatic_sensealg_choice.jl") - @time @safetestset "Physical ODE Adjoint Regression Test" include("physical_ode_regression.jl") - - @time @safetestset "Continuous adjoint params" include("adjoint_param.jl") - @time @safetestset "Continuous and discrete costs" include("mixed_costs.jl") - @time @safetestset "Fully Out of Place adjoint sensitivity" include("adjoint_oop.jl") - @time @safetestset "Differentiate LazyBuffer with ReverseDiff" include("lazybuffer.jl") end end @@ -94,6 +88,17 @@ end end end + if GROUP == "All" || GROUP == "Core7" + @testset "Core 7" begin + @time @safetestset "Physical ODE Adjoint Regression Test" include("physical_ode_regression.jl") + @time @safetestset "Continuous adjoint params" include("adjoint_param.jl") + @time @safetestset "Continuous and discrete costs" include("mixed_costs.jl") + @time @safetestset "Fully Out of Place adjoint sensitivity" include("adjoint_oop.jl") + @time @safetestset "Differentiate LazyBuffer with ReverseDiff" include("lazybuffer.jl") + # Core 7 was split off from Core 3 due to leaks in the testsets described here https://github.com/SciML/SciMLSensitivity.jl/pull/1024 + end + end + if GROUP == "All" || GROUP == "SDE1" @testset "SDE 1" begin @time @safetestset "SDE Adjoint" include("sde_stratonovich.jl")