Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHatherly committed Apr 26, 2024
1 parent 65b8968 commit b21b47c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,19 @@ jobs:
- uses: julia-actions/cache@dc1a3cdeacb521b0ca93cfc66143fcadb15a5bd0

- uses: r-lib/actions/setup-r@b7e68d63e51bdf225997973e2add36d551f60f02
if: matrix.os != 'macOS-latest' || matrix.version != '1.7'
with:
use-public-rspm: true
r-version: "4.3"

- uses: r-lib/actions/setup-r@b7e68d63e51bdf225997973e2add36d551f60f02
if: matrix.os == 'macOS-latest' && matrix.version == '1.7'
with:
use-public-rspm: true
r-version: "4.3"
env:
SETUP_R_ARCH: "x86_64"

- run: echo "LD_LIBRARY_PATH=$(R RHOME)/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
if: matrix.os == 'ubuntu-latest'

Expand Down
7 changes: 6 additions & 1 deletion test/testsets/non_standard_mimetypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,16 @@ include("../utilities/prelude.jl")
# Quarto artifact.
quarto_bin =
quarto_jll.is_available() ? quarto_jll.quarto() : setenv(`quarto`)
quarto_available = try
success(`$quarto_bin --version`)
catch
false
end
# Just a smoke test to make sure it runs. Use docx since it doesn't
# output a bunch of folders (html), or require a tinytex install
# (pdf). All we are doing here at the moment is ensuring quarto doesn't
# break on our notebook outputs.
if success(`$quarto_bin --version`)
if quarto_available
@test success(`$quarto_bin render $ipynb --to $format`)
else
@error "quarto not found, skipping smoke test."
Expand Down
7 changes: 6 additions & 1 deletion test/utilities/prelude.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,16 @@ if !@isdefined(SCHEMA)
# Quarto artifact.
quarto_bin =
quarto_jll.is_available() ? quarto_jll.quarto() : setenv(`quarto`)
quarto_available = try
success(`$quarto_bin --version`)
catch
false
end
# Just a smoke test to make sure it runs. Use docx since it doesn't
# output a bunch of folders (html), or require a tinytex install
# (pdf). All we are doing here at the moment is ensuring quarto doesn't
# break on our notebook outputs.
if success(`$quarto_bin --version`)
if quarto_available
@test success(`$quarto_bin render $ipynb --to docx`)
else
@error "quarto not found, skipping smoke test."
Expand Down

0 comments on commit b21b47c

Please sign in to comment.