Compare commits
3 commits
026f3ff271
...
1551371626
| Author | SHA1 | Date | |
|---|---|---|---|
| 1551371626 | |||
| 97f813553d | |||
| 1dec0dd1af |
1 changed files with 5 additions and 1 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue