mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
91d09b15ea
- add only pytest to the circleci for testing it - add more filtering to pytest scripts - add pytest-cov to reqs
9 lines
233 B
Bash
9 lines
233 B
Bash
#!/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 --cov=gradio --durations=20 --durations-min=0.1 test/local
|
|
fi
|