Skip to content

Commit

Permalink
tests: print gc logging only in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benlorenz committed Jan 27, 2025
1 parent d9ced8a commit f2ee5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ end
# to make sure we seed the main process we run this again
Oscar.randseed!(seed)

if VERSION >= v"1.8.0"
if VERSION >= v"1.8.0" && get(ENV, "CI", "") == "true"
# Enable GC logging to help track down certain GC related issues.
# Note that several test files need to temporarily disable and then
# re-enable this. If we need to disable this globally, those files
Expand Down

0 comments on commit f2ee5b6

Please sign in to comment.