Reduce ydotool key-delay to 20ms #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: 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 |