[FEAT][#46]: Whisper 기반 STT 파이프라인 및 태그 추출 테스트 추가 #37
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| test-and-lint: | |
| name: Tests + Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: pip | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e . | |
| python -m pip install pytest ruff | |
| python -m pip install pytesseract | |
| python -m pip install openai-whisper | |
| python -m pip install ffmpeg-python | |
| - name: Lint (ruff) | |
| run: ruff check src tests | |
| - name: Test (pytest) | |
| run: pytest -q | |
| - name: Eval smoke (v0) | |
| run: python scripts/run_eval_v0.py --suite smoke |