From 849ecd20e35e0571b7caf0f06246d90c82949772 Mon Sep 17 00:00:00 2001 From: Lambert Theisen Date: Tue, 15 Oct 2024 14:41:47 +0200 Subject: [PATCH] make ci faster --- examples/validation-turan/run.jl | 3 +++ test/runtests.jl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/validation-turan/run.jl b/examples/validation-turan/run.jl index 5ecf867..f50e44b 100644 --- a/examples/validation-turan/run.jl +++ b/examples/validation-turan/run.jl @@ -33,6 +33,9 @@ cases = if haskey(ENV, "GITHUB_ACTIONS") n_elems = 20 cases = cases[1:1] + cases[1][4] = n_elems + @info "Changed values for CI:" + @show n_elems, cases end outs = [] diff --git a/test/runtests.jl b/test/runtests.jl index a74a957..12a830d 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -16,7 +16,7 @@ end dir, _ = splitdir(fullpath) @testset "$(fullpath)" begin cd(dir) do - @eval Module() begin + @time @eval Module() begin # to avoid putting all examples in a separte main() # to avoid conflicting redefinitions of variables/functions # see: https://github.com/JuliaLang/julia/issues/40189