diff --git a/.github/workflows/pip-install.yaml b/.github/workflows/pip-install.yaml index 44ec18e..52b7570 100644 --- a/.github/workflows/pip-install.yaml +++ b/.github/workflows/pip-install.yaml @@ -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