test: finalisation des tests d'integration #8
Workflow file for this run
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: KlipMachine Integration Pipeline | |
| on: | |
| push: | |
| branches: [ "test-ci", "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| integration-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: 'pip' | |
| - name: Install system dependencies (FFmpeg) | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y ffmpeg | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install -e . | |
| - name: 1. Test Download | |
| run: python tests/test_download.py | |
| - name: 2. Test Transcriber | |
| run: python tests/test_transcriber.py | |
| - name: 3. Test Brain (AI Analysis) | |
| env: | |
| KLIPMACHINE_GROQ_KEY: ${{ secrets.GROQ_API_KEY }} | |
| run: python tests/test_brain.py | |
| - name: 4. Test Editor (Export) | |
| run: python tests/test_editor.py |