Update E2A-Test.yml

This commit is contained in:
Drew Thomasson
2025-08-08 17:13:41 -04:00
committed by GitHub
parent 74c5d828bb
commit ebf61ffa6b

View File

@@ -170,27 +170,6 @@ jobs:
source "$(conda info --base)/etc/profile.d/conda.sh"
conda deactivate
./ebook2audiobook.sh --headless --language eng --ebook "tools/workflow-testing/test1.txt" --tts_engine PIPER --output_dir ~/ebook2audiobook/audiobooks/PIPER
- name: English PIPER headless single test
shell: bash
run: |
echo "Running English PIPER headless single test..."
cd ~/ebook2audiobook
source "$(conda info --base)/etc/profile.d/conda.sh"
conda deactivate
./ebook2audiobook.sh --headless --language eng --ebook "tools/workflow-testing/test1.txt" --tts_engine PIPER --output_dir ~/ebook2audiobook/audiobooks/PIPER
EXIT_CODE=$?
if [ $EXIT_CODE -eq 138 ]; then
echo "Ignored error code 138 from ebook2audiobook.sh, continuing..."
elif [ $EXIT_CODE -ne 0 ]; then
echo "ebook2audiobook.sh failed with error code $EXIT_CODE"
exit $EXIT_CODE
fi
echo "Search for output file to see if kokoro worked successfully or not"
- name: English KOKORO headless single test
@@ -200,7 +179,17 @@ jobs:
cd ~/ebook2audiobook
source "$(conda info --base)/etc/profile.d/conda.sh"
conda deactivate
./ebook2audiobook.sh --headless --language eng --ebook "tools/workflow-testing/test1.txt" --tts_engine KOKORO --output_dir ~/ebook2audiobook/audiobooks/KOKORO
./ebook2audiobook.sh --headless --language eng --ebook "tools/workflow-testing/test1.txt" --tts_engine KOKORO --output_dir ~/ebook2audiobook/audiobooks/KOKORO
EXIT_CODE=$?
if [ $EXIT_CODE -eq 138 ]; then
echo "Ignored error code 138 from ebook2audiobook.sh, continuing..."
elif [ $EXIT_CODE -ne 0 ]; then
echo "ebook2audiobook.sh failed with error code $EXIT_CODE"
exit $EXIT_CODE
fi
echo "Search for output file to see if kokoro worked successfully or not"
- name: English TACOTRON2 Custom-Voice headless single test
shell: bash