CI: install ffmpeg for the cut tests
Lint Python / lint (push) Successful in 7s
Test Python / test (push) Successful in 2m30s

GitHub's ubuntu-latest image doesn't ship ffmpeg; the two cut tests exec the
real binary and have been failing there since they landed.
This commit is contained in:
flan
2026-08-03 19:51:03 +00:00
parent acc399a88f
commit 7fab8c489e
+8
View File
@@ -18,6 +18,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
- name: Install ffmpeg
# The cut tests exec the real ffmpeg binary; GitHub's ubuntu-latest image
# doesn't ship it (the Gitea runner image does — installing is a no-op there).
run: |
if command -v ffmpeg >/dev/null; then echo "ffmpeg present"; exit 0; fi
if command -v sudo >/dev/null; then SUDO=sudo; else SUDO=; fi
$SUDO apt-get update -qq && $SUDO apt-get install -y -qq ffmpeg
- name: Check lockfile is up to date
run: uv lock --check