diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1780b1..a9a0c6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,16 +42,19 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: [3.10.15, 3.11, 3.12] - coqui: [coqui_yes, coqui_no] # Coqui pools different versions of transformers - openai: [openai_yes, openai_yes] + extra_lib: [none, coqui_yes, openai_yes] # Coqui pools different versions of transformers exclude: - os: macos-latest python-version: 3.10.15 - os: windows-latest python-version: 3.10.15 - - coqui: coqui_yes + - extra_lib: coqui_yes python-version: 3.10.15 - - coqui: coqui_yes + - extra_lib: coqui_yes + python-version: 3.11 + - extra_lib: openai_yes + python-version: 3.10.15 + - extra_lib: openai_yes python-version: 3.11 steps: @@ -82,15 +85,20 @@ jobs: choco install ffmpeg -y - name: Install application with Coqui - if: matrix.coqui == 'coqui_yes' + if: matrix.extra_lib == 'coqui_yes' run: | pip install .[coqui] - name: Install application without Coqui - if: matrix.coqui != 'coqui_yes' + if: matrix.extra_lib == 'none' run: | pip install . + - name: Install application without Coqui + if: matrix.extra_lib == 'openai_yes' + run: | + pip install .[openai] + - name: Install dev packages run: | pip install pytest coverage