-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (33 loc) · 897 Bytes
/
Copy pathci.yml
File metadata and controls
35 lines (33 loc) · 897 Bytes
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
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