Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use macos-13 in CI #117

Merged
merged 2 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ jobs:
- "1.10.0"
os:
- ubuntu-latest
- macos-latest
- macos-13
- windows-latest
# macOS 1.6 seems to consistently stall on `Plots` notebooks. Skip this
# combination and test on a slightly newer macOS version instead.
exclude:
- version: "1.6"
os: macos-latest
os: macos-13
include:
- version: "1.7"
os: macos-latest
os: macos-13
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
with:
Expand Down
7 changes: 2 additions & 5 deletions test/examples/mimetypes.qmd
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
---
title: Mimetypes
julia:
exeflags: ["--project=mimetypes"]
---

```{julia}
Pkg.activate("mimetypes")
Pkg.instantiate()
```

```{julia}
import CairoMakie
import DataFrames
Expand Down
12 changes: 6 additions & 6 deletions test/testsets/mimetypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ include("../utilities/prelude.jl")
test_example(joinpath(@__DIR__, "../examples/mimetypes.qmd")) do json
cells = json["cells"]

cell = cells[6]
cell = cells[4]
@test !isempty(cell["outputs"][1]["data"]["image/png"])
@test !isempty(cell["outputs"][1]["data"]["text/html"])
metadata = cell["outputs"][1]["metadata"]["image/png"]
@test metadata["width"] > 0
@test metadata["height"] > 0

cell = cells[8]
cell = cells[6]
@test !isempty(cell["outputs"][1]["data"]["image/svg+xml"])
@test !isempty(cell["outputs"][1]["data"]["image/png"])

cell = cells[10]
cell = cells[8]
@test !isempty(cell["outputs"][1]["data"]["text/plain"])
@test !isempty(cell["outputs"][1]["data"]["text/html"])

cell = cells[12]
cell = cells[10]
@test cell["outputs"][1]["output_type"] == "stream"
@test !isempty(cell["outputs"][1]["text"])

cell = cells[14]
cell = cells[12]
@test !isempty(cell["outputs"][1]["data"]["text/plain"])
@test !isempty(cell["outputs"][1]["data"]["text/html"])

cell = cells[16]
cell = cells[14]
@test !isempty(cell["outputs"][1]["data"]["text/plain"])
@test !isempty(cell["outputs"][1]["data"]["text/latex"])
end
Loading