Removed CI env check in Dates tests
This commit is contained in:
parent
8c49652add
commit
06a823a3be
@ -13,7 +13,8 @@ using Plots, Test, Dates
|
||||
ref_xlims = (x[1].instant.periods.value, x[end].instant.periods.value)
|
||||
@test Plots.ylims(p) == ref_ylims
|
||||
@test Plots.xlims(p) == ref_xlims
|
||||
@static if (haskey(ENV, "APPVEYOR") || haskey(ENV, "CI"))
|
||||
#@static if (haskey(ENV, "APPVEYOR") || haskey(ENV, "CI"))
|
||||
@static if haskey(ENV, "APPVEYOR")
|
||||
@info "Skipping display tests on AppVeyor"
|
||||
else
|
||||
@test isa(display(p), Nothing) == true
|
||||
@ -30,7 +31,8 @@ end # testset
|
||||
p = plot(x,y, xlims=span, widen = false)
|
||||
|
||||
@test Plots.xlims(p) == ref_xlims
|
||||
@static if (haskey(ENV, "APPVEYOR") || haskey(ENV, "CI"))
|
||||
#@static if (haskey(ENV, "APPVEYOR") || haskey(ENV, "CI"))
|
||||
@static if haskey(ENV, "APPVEYOR")
|
||||
@info "Skipping display tests on AppVeyor"
|
||||
else
|
||||
@test isa(display(p), Nothing) == true
|
||||
@ -46,7 +48,8 @@ end # testset
|
||||
|
||||
p = plot(x,y, xlims=span, widen = false)
|
||||
@test Plots.xlims(p) == ref_xlims
|
||||
@static if (haskey(ENV, "APPVEYOR") || haskey(ENV, "CI"))
|
||||
#@static if (haskey(ENV, "APPVEYOR") || haskey(ENV, "CI"))
|
||||
@static if haskey(ENV, "APPVEYOR")
|
||||
@info "Skipping display tests on AppVeyor"
|
||||
else
|
||||
@test isa(display(p), Nothing) == true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user