Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Jan 6, 2025
1 parent 1c2b044 commit 7856481
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7856481

Please sign in to comment.