You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

citest.sh 329 B

12345678910111213
  1. pip install -r requirements.txt
  2. pip install -r requirements/tests.txt
  3. # linter test
  4. # use internal project for pre-commit due to the network problem
  5. pre-commit run --all-files
  6. if [ $? -ne 0 ]; then
  7. echo "linter test failed, please run 'pre-commit run --all-files' to check"
  8. exit -1
  9. fi
  10. PYTHONPATH=. python tests/run.py