test/e2e-coverage #5

Merged
pedro-bento merged 2 commits from test/e2e-coverage into main 2026-10-04 22:28:47 +01:00
Showing only changes of commit 1551371626 - Show all commits

View file

@ -26,7 +26,11 @@ jobs:
- name: Install test dependencies - name: Install test dependencies
run: pip install -r requirements-test.txt run: pip install -r requirements-test.txt
- name: Run unit tests - name: Run unit tests
run: pytest tests/ -m "not e2e" -q # Exclude the E2E tree from *collection*: `-m "not e2e"` only filters
# execution, but pytest still imports every module to collect it, and the
# pipeline E2E modules import the pipeline (tqdm/scenedetect/ML) which is
# intentionally absent from the unit environment.
run: pytest tests/ --ignore=tests/e2e -m "not e2e" -q
# Backend E2E: API + pipeline. ffmpeg/ffprobe must be installed in-job; the # Backend E2E: API + pipeline. ffmpeg/ffprobe must be installed in-job; the
# E2E requirements add pytest-asyncio/asgi-lifespan/pytest-timeout and the # E2E requirements add pytest-asyncio/asgi-lifespan/pytest-timeout and the