This commit is contained in:
Claudio Santini 2025-01-14 23:36:16 +01:00
parent b02c9c4ced
commit 2da93c379c

View file

@ -28,24 +28,28 @@ jobs:
python-version: '3.12'
- name: Install audiblez
run: python -m pip install audiblez
- name: Fake download model
run: touch kokoro-v0_19.onnx && touch voices.json
- name: Download model
run: |
wget https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files/kokoro-v0_19.onnx
wget https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files/voices.json
- name: Check it runs as module
run: python -m audiblez --help
- name: check it runs as script
run: audiblez --help
install-and-run-on-python-3-10:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install audiblez
run: python -m pip install audiblez
- name: Download model
run: |
wget https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files/kokoro-v0_19.onnx
wget https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files/voices.json
- name: Check it runs as module
run: python -m audiblez --help
- name: check it runs as script
run: audiblez --help
# install-and-run-on-python-3-10: # Doesn't work because of Kokoro
# runs-on: ubuntu-latest
# steps:
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.10'
# - name: Install audiblez
# run: python -m pip install audiblez
# - name: Fake download model
# run: touch kokoro-v0_19.onnx && touch voices.json
# - name: Check it runs as module
# run: python -m audiblez --help
# - name: check it runs as script
# run: audiblez --help