From 6459f35cc45db84d8a9fb650dd371a04ff988f60 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 29 Mar 2022 17:41:09 +0200 Subject: [PATCH] Update test/runtests.jl [skip ci] Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- test/runtests.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 0c609042..2613f901 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -363,7 +363,10 @@ Random.seed!(PLOTS_SEED) default(show = false, reuse = true) # don't actually show the plots is_ci() = get(ENV, "CI", "false") == "true" -const PLOTS_IMG_TOL = parse(Float64, get(ENV, "PLOTS_IMG_TOL", is_ci() ? Sys.iswindows() ? "2e-4" : "1e-4" : "1e-5")) +const PLOTS_IMG_TOL = parse( + Float64, + get(ENV, "PLOTS_IMG_TOL", is_ci() ? Sys.iswindows() ? "2e-4" : "1e-4" : "1e-5"), +) ## Uncomment the following lines to update reference images for different backends