From 85168ff6256c59389018923be0fab4edb73fb6eb Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Tue, 17 Sep 2024 09:47:09 +0200 Subject: [PATCH] Try fix found online to re-enable mermaid tests --- .github/workflows/ci.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 35f4de8..cbc59a3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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