Skip to content

Commit

Permalink
Add ubuntu-22.04-arm and windows-2025 to the testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jan 19, 2025
1 parent e4af8de commit 6aacbc9
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
python-version: "3.12"
- os: ubuntu-22.04
python-version: "3.13"
- os: ubuntu-22.04-arm
python-version: "3.13"
- os: windows-latest
python-version: "3.11"
- os: windows-2025
python-version: "3.11"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand All @@ -34,24 +38,21 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install build dependencies
if: matrix.os == 'ubuntu-22.04'
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y libpulse-dev libasound2-dev
sudo apt-get install --no-install-recommends -y portaudio19-dev
- name: Install ffmpeg (for Whisper)
uses: FedericoCarboni/setup-ffmpeg@v3
- name: Install Python dependencies (Ubuntu, <=3.12)
if: matrix.os == 'ubuntu-22.04' && matrix.python-version != '3.13'
sudo apt-get install --no-install-recommends -y ffmpeg flac libasound2-dev libpulse-dev portaudio19-dev
- name: Install Python dependencies (Ubuntu, < 3.13)
if: runner.os == 'Linux' && matrix.python-version < '3.13'
run: |
python -m pip install .[dev,audio,pocketsphinx,google-cloud,whisper-local,faster-whisper,openai,groq]
- name: Install Python dependencies (Ubuntu, 3.13)
if: matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.13'
- name: Install Python dependencies (Ubuntu, >= 3.13)
if: runner.os == 'Linux' && matrix.python-version >= '3.13'
run: |
python -m pip install standard-aifc setuptools
python -m pip install standard-aifc # Remove this line when switching to pyproject.toml
python -m pip install --no-build-isolation .[dev,audio,pocketsphinx,google-cloud,openai,groq]
- name: Install Python dependencies (Windows)
if: matrix.os == 'windows-latest'
if: runner.os == 'Windows'
run: |
python -m pip install .[dev,whisper-local,faster-whisper,google-cloud,openai,groq]
- name: Test with unittest
Expand Down

0 comments on commit 6aacbc9

Please sign in to comment.