Skip to content

Reduce ydotool key-delay to 20ms #10

Reduce ydotool key-delay to 20ms

Reduce ydotool key-delay to 20ms #10

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ShellCheck
uses: ludeeus/action-shellcheck@2.0.0
with:
additional_files: talktype transcribe-server backends/parakeet backends/parakeet-server backends/moonshine backends/moonshine-server
scandir: test/mocks
- name: Python syntax check
run: python3 -m py_compile transcribe && python3 -m py_compile whisper-daemon.py && python3 -m py_compile backends/parakeet-daemon.py && python3 -m py_compile backends/moonshine-daemon.py
test:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install bats
run: sudo apt-get update && sudo apt-get install -y bats
- name: Install test dependencies
run: sudo apt-get install -y ydotool pipewire libnotify-bin socat
- name: Run tests
run: bats test/talktype.bats test/server.bats