Update runtests.jl

This commit is contained in:
t-bltg 2021-07-25 18:05:54 +02:00 committed by GitHub
parent ad0f623386
commit 07a786a946
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) Random.seed!(PLOTS_SEED)
default(show=false, reuse=true) default(show=false, reuse=true)
is_ci() = get(ENV, "CI", "false") == "true" is_ci() = get(ENV, "CI", "false") == "true"
const PLOTS_IMG_TOL = parse(Float64, get(ENV, "PLOTS_IMG_TOL", is_ci() ? "1e-3" : "1e-5")) const PLOTS_IMG_TOL = parse(Float64, get(ENV, "PLOTS_IMG_TOL", is_ci() ? "1e-3" : "1e-4"))
## Uncomment the following lines to update reference images for different backends ## Uncomment the following lines to update reference images for different backends