Skip to content

Commit

Permalink
ci: switch from pip to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
eginhard committed Mar 10, 2024
1 parent 8200986 commit 3fc5857
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aux_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
sudo apt-get install -y git make gcc
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Replace scarf urls
run: |
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: make test_aux
4 changes: 2 additions & 2 deletions .github/workflows/data_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
sudo apt-get install -y --no-install-recommends git make gcc
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Replace scarf urls
run: |
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: make data_tests
4 changes: 2 additions & 2 deletions .github/workflows/inference_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
sudo apt-get install espeak-ng
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Replace scarf urls
run: |
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: make inference_tests
4 changes: 2 additions & 2 deletions .github/workflows/text_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
sudo apt-get install espeak-ng
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: make test_text
4 changes: 2 additions & 2 deletions .github/workflows/tts_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
sudo apt-get install espeak-ng
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Replace scarf urls
run: |
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: make test_tts
4 changes: 2 additions & 2 deletions .github/workflows/tts_tests2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
sudo apt-get install espeak-ng
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Replace scarf urls
run: |
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: make test_tts2
4 changes: 2 additions & 2 deletions .github/workflows/vocoder_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
sudo apt-get install -y git make gcc
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: make test_vocoder
4 changes: 2 additions & 2 deletions .github/workflows/xtts_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
sudo apt-get install espeak-ng
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Replace scarf urls
run: |
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: make test_xtts
4 changes: 2 additions & 2 deletions .github/workflows/zoo_tests0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
sudo apt-get install espeak espeak-ng
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Replace scarf urls
run: |
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/zoo_tests1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
sudo apt-get install espeak espeak-ng
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Replace scarf urls
run: |
sed -i 's/https:\/\/coqui.gateway.scarf.sh\/hf\/bark\//https:\/\/huggingface.co\/erogol\/bark\/resolve\/main\//g' TTS/.models.json
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: nose2 -F -v -B --with-coverage --coverage TTS tests.zoo_tests.test_models.test_models_offset_1_step_3
4 changes: 2 additions & 2 deletions .github/workflows/zoo_tests2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
sudo apt-get install espeak espeak-ng
make system-deps
- name: Install/upgrade Python setup deps
run: python3 -m pip install --upgrade pip setuptools wheel
run: python3 -m pip install --upgrade pip setuptools wheel uv
- name: Replace scarf urls
run: |
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//g' TTS/.models.json
- name: Install TTS
run: |
python3 -m pip install .[all]
python3 -m uv pip install --system TTS[all]
python3 setup.py egg_info
- name: Unit tests
run: nose2 -F -v -B --with-coverage --coverage TTS tests.zoo_tests.test_models.test_models_offset_2_step_3

0 comments on commit 3fc5857

Please sign in to comment.