Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/test-smokes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ jobs:
quarto install tinytex

- name: Install veraPDF for PDF standard validation
if: runner.os == 'Linux' && (format('{0}', inputs.buckets) == '' || contains(inputs.buckets, 'pdf-standard'))
if: runner.os != 'Windows' && (format('{0}', inputs.buckets) == '' || contains(inputs.buckets, 'pdf-standard'))
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down
9 changes: 7 additions & 2 deletions tests/smoke/crossref/figures.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Copyright (C) 2020-2022 Posit Software, PBC
*/

import { isMac } from "../../../src/deno_ral/platform.ts";
import { ensureFileRegexMatches, ensureHtmlElements } from "../../verify.ts";
import { testRender } from "../render/render.ts";
import { crossref } from "./utils.ts";
Expand Down Expand Up @@ -62,6 +63,10 @@ testRender(pythonSubfigQmd.input, "html", false, [
]),
]);

// GR launches its gksqt GUI from julia-engine workers on macOS, which hangs
// or crashes Plots renders on headless CI runners.
const juliaPlotsContext = { ignore: isMac };

for (const file of ["julia.qmd", "julianative.qmd"]) {
const juliaQmd = crossref(file, "html");
testRender(juliaQmd.input, "html", false, [
Expand All @@ -75,7 +80,7 @@ for (const file of ["julia.qmd", "julianative.qmd"]) {
], [
/\?@fig-/,
]),
]);
], juliaPlotsContext);
}

for (const file of ["julia-subfig.qmd", "julianative-subfig.qmd"]) {
Expand All @@ -94,7 +99,7 @@ for (const file of ["julia-subfig.qmd", "julianative-subfig.qmd"]) {
], [
/\?@fig-/,
]),
]);
], juliaPlotsContext);
}

const knitrQmd = crossref("knitr.qmd", "html");
Expand Down
Loading