Skip to content

Commit

Permalink
Try fix found online to re-enable mermaid tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Sep 17, 2024
1 parent 3f2d3b0 commit 85168ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ jobs:
run: 'make test-dot test-no-alt-or-caption'

Mermaid:
if: false
runs-on: ubuntu-latest
strategy:
fail-fast: true
Expand All @@ -94,7 +93,7 @@ jobs:
run: |
apk update && apk add chromium chromium-chromedriver make npm
npm install -g @mermaid-js/mermaid-cli
printf '{"args":["--no-sandbox","--disable-setuid-sandbox"]}' > \
printf '{"args":["--no-sandbox","--disable-setuid-sandbox", "--disable-gpu"]}' > \
/etc/puppeteer-conf.json
printf '#!/bin/sh\nmmdc -p /etc/puppeteer-conf.json $@' > $MERMAID_BIN
chmod +x $MERMAID_BIN
Expand Down

0 comments on commit 85168ff

Please sign in to comment.