mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-29 20:45:11 +00:00
ci: install FFmpeg on the test runners so the FFmpeg and FFprobe tests run
This commit is contained in:
@@ -71,6 +71,15 @@ jobs:
|
|||||||
run: uv sync --locked --no-default-groups --group test
|
run: uv sync --locked --no-default-groups --group test
|
||||||
- name: CLI loads
|
- name: CLI loads
|
||||||
run: uv run unshackle --help
|
run: uv run unshackle --help
|
||||||
|
- name: Install FFmpeg
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
case "$RUNNER_OS" in
|
||||||
|
Linux) sudo apt-get update -qq && sudo apt-get install -y -qq --no-install-recommends ffmpeg ;;
|
||||||
|
macOS) brew install ffmpeg ;;
|
||||||
|
Windows) choco install ffmpeg -y --no-progress ;;
|
||||||
|
esac
|
||||||
|
ffprobe -version | head -1
|
||||||
- name: Tests
|
- name: Tests
|
||||||
run: uv run pytest -n auto --dist worksteal -m "not live and not slow" ${{ matrix.coverage && '--cov --cov-report=term --cov-report=html' || '' }}
|
run: uv run pytest -n auto --dist worksteal -m "not live and not slow" ${{ matrix.coverage && '--cov --cov-report=term --cov-report=html' || '' }}
|
||||||
- name: Upload coverage report
|
- name: Upload coverage report
|
||||||
|
|||||||
Reference in New Issue
Block a user