Skip to content

Commit

Permalink
Merge pull request #1857 from CliMA/ck/test_suite
Browse files Browse the repository at this point in the history
Temporarily prevent leaky tests
  • Loading branch information
charleskawczynski authored Jun 28, 2024
2 parents e33f3e4 + f31e9bd commit 4d9e9cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ filter!(
# Note: for `fail_fast = false`, the tests are all wrapped in `@testset "Unit tests"`
# so output is suppressed until all tests are complete.
fail_fast = true
prevent_leaky_tests = !isnothing(get(ENV, "CI", nothing)) # prevent leaky tests on CI)

# Use prevent_leaky_tests = !isnothing(get(ENV, "CI", nothing))
# once https://github.com/CliMA/ClimaCore.jl/issues/1826 is fixed:
# prevent_leaky_tests = !isnothing(get(ENV, "CI", nothing)) # prevent leaky tests on CI)
prevent_leaky_tests = true
# tabulate_tests(unit_tests; include_timings = false) # uncomment for preview

# If `fail_fast` is `true`, then let's error on invalid tests before starting them.
Expand Down

0 comments on commit 4d9e9cd

Please sign in to comment.