Skip to content

Implement DFlash draft handling in model routes and services #48

Implement DFlash draft handling in model routes and services

Implement DFlash draft handling in model routes and services #48

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: requirements-dev.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run pytest
run: python -m pytest backend/tests -q --tb=short --ignore=backend/tests/test_audio_proxy_smoke.py
- name: audio.cpp speech/ASR proxy smoke
run: python -m pytest backend/tests/test_audio_proxy_smoke.py -q --tb=short
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- name: Install and test
run: |
npm ci
npm run test:frontend