Encode Integration Tests #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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_workflow.py" | |
| - "tests/conftest.py" | |
| - ".github/workflows/ci-encode-integration.yml" | |
| push: | |
| branches: | |
| - main | |
| - master | |
| paths: | |
| - "core/workflows/encode/**" | |
| - "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_workflow.py -v |