Skip to content

Commit

Permalink
Disable PDF plots test on Windows Julia 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHatherly committed Oct 15, 2024
1 parent 916284d commit 5e7827d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions test/testsets/integrations/Plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ test_example(joinpath(@__DIR__, "../../examples/integrations/Plots.qmd")) do jso
Dict("width" => 575, "height" => 432) # Plots does not seem to follow standard dpi rules so the values don't match Makie
end

test_example(joinpath(@__DIR__, "../../examples/integrations/PlotsPDF.qmd")) do json
cells = json["cells"]
# TODO: pdf render on windows 1.11 is stalling in CI, skip for now.
if !Sys.iswindows() && VERSION >= v"1.11.0"
test_example(joinpath(@__DIR__, "../../examples/integrations/PlotsPDF.qmd")) do json
cells = json["cells"]

cell = cells[4]
output = cell["outputs"][1]
cell = cells[4]
output = cell["outputs"][1]

@test !isempty(output["data"]["application/pdf"])
@test !isempty(output["data"]["application/pdf"])
end
end

0 comments on commit 5e7827d

Please sign in to comment.