Skip to content

Canvix — Free & open-source graphic design tool. A community-built Canva alternative with a drag-and-drop editor, templates, shapes, text, images & one-click export. Works on desktop, tablet & mobile.

fix(ci): install ffmpeg on the e2e runner — the video-export test needs ffprobe (#11)

Ashiq Hussain Mire946d3dc0eb0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5a3ac6e..d523422 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -105,6 +105,15 @@ jobs:
- name: Install Playwright browser (chromium)
run: npx playwright install --with-deps chromium
+ # The video-export e2e shells out to ffprobe + volumedetect to prove
+ # the exported file really carries a non-silent audio track, and the
+ # preview test encodes a VP8/Vorbis WebM fixture — GitHub's
+ # ubuntu-latest images ship without ffmpeg (first main run: 26
+ # passed / 1 skipped / 1 ENOENT). Ubuntu's ffmpeg package provides
+ # all of it, so the suite runs whole instead of half-skipping.
+ - name: Install ffmpeg (video-export e2e dependencies)
+ run: sudo apt-get update && sudo apt-get install -y --no-install-recommends ffmpeg
+
- name: Set up database (migrations + template seed)
run: npm run db:setup
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0908e51..cc77132 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,6 +23,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
Runtime targets: PR gate < 10 min, e2e job verified at ~4 min locally.
The whole command sequence was verified end-to-end before this
release: 316/316 unit, 28/28 Playwright against a fresh database.
+ The e2e job also installs ffmpeg on the runner — the video-export
+ test shells out to `ffprobe`/`volumedetect` (and the preview test
+ encodes a WebM fixture), and GitHub's runner images ship without
+ ffmpeg, which the pipeline's first `main` run caught (26 passed /
+ 1 skipped / 1 ENOENT → whole suite once installed).
- **README CI badge** — live build status for `main` next to the license
badge.
- **CONTRIBUTING: "CI & required checks"** — documents what each check