Skip to content

Commit

Permalink
CI: check that the Quarto conversion succeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Sep 26, 2024
1 parent a25c336 commit 229ddee
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,28 @@ jobs:
- name: Test
run: 'make test-tikz'

Quarto:
runs-on: ubuntu-latest
strategy:
fail-fast: true
container:
image: ghcr.io/quarto-dev/quarto:latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: |
apt-get -q --no-allow-insecure-repositories update && \
apt-get install --no-install-recommends --assume-yes \
make plantuml
# Quarto rendering should complete without failure, and the
# resulting HTML page should contain an image.
- name: Render
run: quarto render test/plantuml-quarto.qmd

- name: Check for image
run: grep -q '<img ' test/plantuml-quarto.html

0 comments on commit 229ddee

Please sign in to comment.