Update runtests.jl

This commit is contained in:
t-bltg 2021-07-25 17:54:52 +02:00 committed by GitHub
parent dbe6c8dc57
commit c5ae99374a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ include("imgcomp.jl")
Random.seed!(PLOTS_SEED)
default(show=false, reuse=true)
is_ci() = get(ENV, "CI", "false") == "true"
const PLOTS_IMG_TOL = parse(Float64, get(ENV, "PLOTS_IMG_TOL", is_ci() ? "1e-4" : "1e-5"))
const PLOTS_IMG_TOL = parse(Float64, get(ENV, "PLOTS_IMG_TOL", is_ci() ? "1e-3" : "1e-5"))
## Uncomment the following lines to update reference images for different backends