Skip to content

Commit

Permalink
skip testing Kaleido on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
disberd committed Feb 26, 2024
1 parent bf2074f commit bc131f0
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions test/extensions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bc131f0

Please sign in to comment.