mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-13 23:53:02 +00:00
ea6dce774b
We'll incrementally add more tests as we progress. Not everything will need testing.
19 lines
394 B
Bash
Executable File
19 lines
394 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
TEST_VENV_DIRECTORY="./python"
|
|
|
|
# NB: "python" is the name of our virtual environment python directory.
|
|
if [ ! -d "${TEST_VENV_DIRECTORY}" ]; then
|
|
python3.6 -m venv "${TEST_VENV_DIRECTORY}"
|
|
fi
|
|
|
|
source python/bin/activate
|
|
pip install --upgrade pip
|
|
pip install -r requirements-tacotron-python36.txt
|
|
|
|
# Run tests in modules that support tests
|
|
pytest text -vv
|
|
|