mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
Use requirement installation script in circleci installations to have single requirements list.
This commit is contained in:
parent
5fdd721834
commit
709c93ee03
@ -16,10 +16,7 @@ jobs:
|
||||
command: |
|
||||
python3 -m venv venv
|
||||
. venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
pip install -r gradio.egg-info/requires.txt
|
||||
pip install shap IPython comet_ml wandb mlflow tensorflow transformers huggingface_hub
|
||||
pip install selenium==4.0.0a6.post2 coverage scikit-image
|
||||
bash scripts/install_test_requirements.sh
|
||||
- run:
|
||||
command: |
|
||||
chromedriver --version
|
||||
|
8
scripts/run_detailed_tests.sh
Normal file
8
scripts/run_detailed_tests.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
|
||||
echo "Please run the script from repo directory"
|
||||
exit -1
|
||||
else
|
||||
echo "Running the tests"
|
||||
python -m pytest --durations=0 test
|
||||
fi
|
@ -8,4 +8,5 @@ selenium==4.0.0a6.post2
|
||||
scikit-image
|
||||
shap
|
||||
pytest
|
||||
wandb
|
||||
wandb
|
||||
huggingface_hub
|
||||
|
Loading…
Reference in New Issue
Block a user