Skip to content
Merged
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
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,29 @@ jobs:
- name: Markdown lint
run: bun run validate:md

- name: Install ImageMagick (with magick v7 dispatcher wrapper)
run: |
sudo apt-get update
sudo apt-get install -y imagemagick
# Ubuntu ships ImageMagick 6 (separate binaries: convert, identify, etc.).
# build-demo-manifest.ts and its test use the v7 multi-call entrypoint
# (magick, magick identify, ...). Install a small dispatcher at
# /usr/local/bin/magick that forwards to the v6 binary by subcommand.
sudo tee /usr/local/bin/magick > /dev/null <<'WRAPPER'
#!/bin/bash
case "$1" in
identify|convert|mogrify|composite|montage|compare|conjure|stream|display|animate|import)
cmd="$1"; shift; exec "$cmd" "$@" ;;
*)
exec convert "$@" ;;
esac
WRAPPER
sudo chmod +x /usr/local/bin/magick
magick -version | head -1

- name: Install Playwright Chromium (browser-audit)
run: bunx playwright install --with-deps chromium

- name: Run tests
run: bun run test

Expand Down