ci: test lowest and highest compatible versions of dependencies

This commit is contained in:
Enno Hermann 2024-06-29 15:45:34 +02:00
parent 808a938171
commit 8cab2e3b4e
2 changed files with 6 additions and 2 deletions

View File

@ -45,8 +45,11 @@ jobs:
sed -i 's/https:\/\/coqui.gateway.scarf.sh\//https:\/\/github.com\/coqui-ai\/TTS\/releases\/download\//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 - name: Install TTS
run: | run: |
python3 -m uv pip install --system "coqui-tts[dev,server,languages] @ ." resolution=highest
python3 setup.py egg_info if [ "${{ matrix.python-version }}" == "3.9" ]; then
resolution=lowest-direct
fi
python3 -m uv pip install --resolution=$resolution --system "coqui-tts[dev,server,languages] @ ."
- name: Unit tests - name: Unit tests
run: make ${{ matrix.subset }} run: make ${{ matrix.subset }}
- name: Upload coverage data - name: Upload coverage data

View File

@ -1,6 +1,7 @@
[build-system] [build-system]
requires = [ requires = [
"setuptools", "setuptools",
"setuptools-scm",
"cython~=0.29.30", "cython~=0.29.30",
"numpy>=2.0.0", "numpy>=2.0.0",
] ]