gradio/scripts/run_all_tests,.sh
Ömer Faruk Özdemir 91d09b15ea Accelerate Tests
- add only pytest to the circleci for testing it
- add more filtering to pytest scripts
- add pytest-cov to reqs
2022-02-08 19:56:58 +03:00

9 lines
225 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=1 test
fi