Commit d2152ae1 authored by Aryan Noshirvani's avatar Aryan Noshirvani

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

parent 49cb1fd3
Pipeline #975 failed with stages
in 3 minutes and 36 seconds
...@@ -15,8 +15,8 @@ test_api: ...@@ -15,8 +15,8 @@ test_api:
stage: test stage: test
image: python:3.10-slim image: python:3.10-slim
before_script: before_script:
- apt-get update && apt-get install -y ffmpeg git build-essential - apt-get update && apt-get install -y --no-install-recommends ffmpeg git
- pip install -r requirements.txt pytest - pip install --prefer-binary -r requirements.txt pytest
script: script:
- PYTHONPATH=. pytest tests/ - PYTHONPATH=. pytest tests/
only: 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