A multipurpose python flask API server and administration SPA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
584 B

  1. #!/usr/bin/env bash
  2. set -e
  3. set -x
  4. # shellcheck disable=SC2034
  5. export PIPENV_VERBOSITY=-1
  6. pipenv run python3 --version
  7. pipenv run python3 -m pip --version
  8. pipenv run pylint --version
  9. pipenv run mypy --version
  10. pipenv run coverage --version
  11. pipenv run pytest --version
  12. pipenv run pycodestyle --version
  13. pipenv run pydocstyle --version
  14. pipenv run pylint server
  15. pipenv run mypy server tests
  16. PYTHONPATH=$(pwd) pipenv run coverage run --source server -m pytest
  17. pipenv run coverage report --fail-under=85 -m --skip-covered
  18. pipenv run pycodestyle server tests
  19. pipenv run pydocstyle server