gradio/scripts/install_test_requirements.sh
Yuichiro Tachibana (Tsuchiya) 0cf93e50b8
Make shell scripts executable and fix their shebangs (#6901)
* Add executable permission to scripts/*.sh

* Set -eu to the shebang in /scripts/*.sh

* Fix client/python/scripts/*.sh
2023-12-29 08:21:51 -08:00

13 lines
267 B
Bash
Executable File

#!/bin/bash -eu
cd "$(dirname ${0})/.."
source scripts/helpers.sh
pip_required
echo "Installing requirements before running tests..."
pip install --upgrade pip
pip install -r test/requirements.txt
pip install -r requirements-oauth.txt
pip install -e client/python