Fixed CI #10
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: VoiceOS CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI: "true" | |
| VOICEOS_ENV: ci | |
| PYTHONPATH: . | |
| DISPLAY: ":99" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libportaudio2 portaudio19-dev | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Verify setup | |
| run: python scripts/verify_setup.py | |
| - name: System tests | |
| run: python main.py --test | |
| - name: Pytest suite | |
| run: python -m pytest tests/ -q --tb=short --ignore=tests/test_framework.py |