Uberi / speech_recognition

Speech recognition module for Python, supporting several engines and APIs, online and offline.
https://pypi.python.org/pypi/SpeechRecognition/
BSD 3-Clause "New" or "Revised" License
8.45k stars 2.4k forks source link

unittests.yml: Add macOS to the testing #791

Open cclauss opened 1 week ago

cclauss commented 1 week ago
jobs:
  build:
    strategy:
      matrix:
          include:
            - os: macos-latest
              python-version: "3.13"

      - name: Install Python dependencies (macOS, 3.13)
        if: runner.os == 'macOS'
        run: |
          brew install portaudio
          python -m pip install pocketsphinx standard-aifc setuptools
          python -m pip install --no-build-isolation .[dev,audio,whisper-api]