-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (52 loc) · 1.59 KB
/
ci-encode-integration.yml
File metadata and controls
60 lines (52 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Encode Integration Tests
# Tests nécessitant ffmpeg réel pour la construction de commandes,
# la détection des encodeurs hardware et les workflows d'encodage complets.
on:
workflow_dispatch:
pull_request:
paths:
- "core/workflows/encode/**"
- "tests/test_encode_hw_devices.py"
- "tests/test_encode_hardware.py"
- "tests/test_encode_workflow.py"
- "tests/conftest.py"
- ".github/workflows/ci-encode-integration.yml"
push:
branches:
- main
- master
paths:
- "core/workflows/encode/**"
- "tests/test_encode_hw_devices.py"
- "tests/test_encode_hardware.py"
- "tests/test_encode_workflow.py"
- "tests/conftest.py"
- ".github/workflows/ci-encode-integration.yml"
jobs:
encode-integration:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install System Dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y ffmpeg libegl1 libgl1 libglib2.0-0
ffmpeg -version
ffprobe -version
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-qt PySide6
- name: Run Encode Integration Tests
run: |
pytest \
tests/test_encode_hw_devices.py \
tests/test_encode_hardware.py \
tests/test_encode_workflow.py \
-v