From bc131f0349730d5efde045fa4c22ae2f732384a5 Mon Sep 17 00:00:00 2001 From: Alberto Mengali Date: Sun, 25 Feb 2024 18:33:13 +0100 Subject: [PATCH] skip testing Kaleido on windows --- test/extensions.jl | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/test/extensions.jl b/test/extensions.jl index 09dfe87..accb1f2 100644 --- a/test/extensions.jl +++ b/test/extensions.jl @@ -3,14 +3,17 @@ using Test ## PlotlyKaleido Extension ## using PlotlyKaleido +if Sys.iswindows() + # We skip extensions in windows as PlotlyKaleido fails +else + PlotlyKaleido.start() -PlotlyKaleido.start() - -mktempdir() do dir - cd() do - p = plot(rand(10,4)) - @test_nowarn savefig(p, "test_savefig.png") - @test isfile("test_savefig.png") + mktempdir() do dir + cd() do + p = plot(rand(10,4)) + @test_nowarn savefig(p, "test_savefig.png") + @test isfile("test_savefig.png") + end end end