Adding a notebook demo, and also the sound playing function in the notebook #83
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test voicevox-client | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
name: Test voicevox-client | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install depend | |
run: pip3 install -U .[tests] | |
- name: Run voicevox-engine | |
run: | | |
docker pull voicevox/voicevox_engine:cpu-ubuntu20.04-latest | |
docker run -d --rm -p '127.0.0.1:50021:50021' voicevox/voicevox_engine:cpu-ubuntu20.04-latest | |
sleep 20 | |
- name: Run test | |
run: pytest |