Browse Source

Added a simple bash script to run codestyle, mypy, pytest, and coverage

merge-requests/1/head
Drew Short 6 years ago
parent
commit
5dcbb89d79
  1. 9
      server/run_tests.sh

9
server/run_tests.sh

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
set -x
pycodestyle atheneum tests
mypy atheneum tests
PYTHONPATH=$(pwd) coverage run --source atheneum -m pytest
coverage report --fail-under=85 -m --skip-covered
Loading…
Cancel
Save