Skip to content

Commit 2804701

Browse files
committed
make CI faster for turan test
1 parent c944b26 commit 2804701

File tree

1 file changed

+6
-1
lines changed
  • examples/validation-turan

1 file changed

+6
-1
lines changed

examples/validation-turan/run.jl

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ nlsolver_opts = (;
1313
linesearch = BackTracking(),
1414
)
1515

16-
n_elems = 40
16+
n_elems = 100
17+
if haskey(ENV, "GITHUB_ACTIONS")
18+
# Lower the value when in GitHub Actions environment
19+
n_elems = 20 # New value for GitHub Actions
20+
end
21+
1722
cases =
1823
[
1924
# turan

0 commit comments

Comments
 (0)