File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # .github/workflows/ci.yml
21name : CI / Test & Docker Build
32
43on :
1110 test-and-build :
1211 runs-on : ubuntu-latest
1312
13+ env :
14+ # Force local ffmpeg usage
15+ MODE : local
16+ FFMPEG_PATH : /usr/bin/ffmpeg
17+ FFPROBE_PATH : /usr/bin/ffprobe
18+ VMAF_PATH : /usr/bin/true # no-op if VMAF not installed
19+ # JWT settings for tests
20+ SECRET_KEY : testsecret
21+ ALGORITHM : HS256
22+ ACCESS_TOKEN_EXPIRE_MINUTES : 60
23+ # AWS disabled in CI
24+ AWS_ACCESS_KEY_ID : ' '
25+ AWS_SECRET_ACCESS_KEY : ' '
26+ AWS_REGION : us-east-1
27+ # API server defaults (not used by tests)
28+ HOST : 0.0.0.0
29+ PORT : 8000
30+ WORKERS : 1
31+
1432 steps :
1533 - name : Checkout repository
1634 uses : actions/checkout@v4
2038 with :
2139 python-version : ' 3.10'
2240
23- - name : Install dependencies, pytest & httpx
41+ - name : Install system FFmpeg
42+ run : |
43+ sudo apt-get update
44+ sudo apt-get install -y ffmpeg
45+
46+ - name : Install Python dependencies, pytest & httpx
2447 run : |
2548 python -m pip install --upgrade pip
2649 pip install --no-cache-dir -r requirements.txt
4467 load : true
4568 push : false
4669 tags : ffmpeg-api-service:latest
70+
You can’t perform that action at this time.
0 commit comments