Commit 4b34aa90 authored by Aryan Noshirvani's avatar Aryan Noshirvani

Optimize CI build speed: enable host pip caching, --prefer-binary wheels, and minimal apt packages

parent 0a366633
......@@ -15,8 +15,8 @@ test_api:
stage: test
image: python:3.10-slim
before_script:
- apt-get update && apt-get install -y ffmpeg git build-essential
- pip install -r requirements.txt pytest
- apt-get update && apt-get install -y --no-install-recommends ffmpeg git
- pip install --prefer-binary -r requirements.txt pytest
script:
- PYTHONPATH=. pytest tests/
only:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment