diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 84629b0e..fdf64948 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -17,6 +17,7 @@ jobs: - Others version: - '1' + - '~1.10.0-0' steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 diff --git a/test/interpolation_test.jl b/test/mirk/interpolation_test.jl similarity index 84% rename from test/interpolation_test.jl rename to test/mirk/interpolation_test.jl index a1836c64..be4d852d 100644 --- a/test/interpolation_test.jl +++ b/test/mirk/interpolation_test.jl @@ -14,7 +14,8 @@ function prob_bvp_linear_bc!(res, u, p, t) res[1] = u[1][1] - 1 res[2] = u[end][1] end -prob_bvp_linear_function = ODEFunction(prob_bvp_linear_f!, analytic = prob_bvp_linear_analytic) +prob_bvp_linear_function = ODEFunction(prob_bvp_linear_f!, + analytic = prob_bvp_linear_analytic) prob_bvp_linear_tspan = (0.0, 1.0) prob_bvp_linear = BVProblem(prob_bvp_linear_function, prob_bvp_linear_bc!, [1.0, 0.0], prob_bvp_linear_tspan, λ) @@ -28,6 +29,6 @@ end @testset "Interpolation" begin @testset "MIRK$order" for order in (2, 3, 4, 5, 6) @time sol = solve(prob_bvp_linear, mirk_solver(Val(order)); dt = 0.001) - @test sol(0.001) ≈ [0.998687464, -1.312035941] atol=testTol + @test sol(0.001)≈[0.998687464, -1.312035941] atol=testTol end end diff --git a/test/runtests.jl b/test/runtests.jl index 4d1c7c3e..86d7690e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -11,8 +11,11 @@ const GROUP = uppercase(get(ENV, "GROUP", "ALL")) @time @safetestset "Ray Tracing BVP" begin include("shooting/ray_tracing.jl") end - @time @safetestset "Orbital" begin - include("shooting/orbital.jl") + @static if VERSION ≥ v"1.10.0-beta2" + # Orbital Tests take extremely long to compile on Julia 1.9 + @time @safetestset "Orbital" begin + include("shooting/orbital.jl") + end end end end @@ -28,6 +31,9 @@ const GROUP = uppercase(get(ENV, "GROUP", "ALL")) @time @safetestset "Vector of Vector" begin include("mirk/vectorofvector_initials.jl") end + @time @safetestset "Interpolation Tests" begin + include("mirk/interpolation_tests.jl") + end end end @@ -46,10 +52,4 @@ const GROUP = uppercase(get(ENV, "GROUP", "ALL")) end end end - - @time @testset "Interpolation Tests" begin - @time @safetestset "MIRK Interpolation Test" begin - include("interpolation_test.jl") - end - end end