Skip to content

Commit

Permalink
make ci faster
Browse files Browse the repository at this point in the history
  • Loading branch information
lamBOOO committed Oct 15, 2024
1 parent 35295a2 commit 849ecd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/validation-turan/run.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 849ecd2

Please sign in to comment.