Skip to content

Commit 9ca60d1

Browse files
ralyodioclaude
andcommitted
CI: install ffmpeg and imagemagick before running tests
The test suite is integration tests that shell out to ffmpeg/ffprobe and ImageMagick's `convert`. Without those binaries the tests fail with "FFmpeg is not installed or not available in PATH". Add an apt install step to both the CI and test workflows so the runner has them. Verified locally: 85 passing, 12 pending, 0 failing. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent b2e3bc3 commit 9ca60d1

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26+
# The test suite shells out to ffmpeg/ffprobe and ImageMagick's convert;
27+
# install them so the integration tests can run on the runner.
28+
- name: Install FFmpeg and ImageMagick
29+
run: sudo apt-get update && sudo apt-get install -y ffmpeg imagemagick
30+
2631
# pnpm version is read from the "packageManager" field in package.json.
2732
# Do not pin a version here — it conflicts with packageManager and fails
2833
# with ERR_PNPM_BAD_PM_VERSION.

‎.github/workflows/test.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22+
# The test suite shells out to ffmpeg/ffprobe and ImageMagick's convert;
23+
# install them so the integration tests can run on the runner.
24+
- name: Install FFmpeg and ImageMagick
25+
run: sudo apt-get update && sudo apt-get install -y ffmpeg imagemagick
26+
2227
# pnpm version is read from the "packageManager" field in package.json.
2328
# Do not pin a version here — it conflicts with packageManager and fails
2429
# with ERR_PNPM_BAD_PM_VERSION.

0 commit comments

Comments
 (0)