Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions run_presubmit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,16 @@ set -euo pipefail
# A helper script for ensuring all checks pass before submitting any change.

echo ========== Running unit tests.
if [[ -z `which coverage` ]];then
echo "coverage is not installed. Installing ..."
pip install coverage
fi
coverage run --source=gcp_variant_transforms setup.py test

echo ========== Running pylint.
if [[ -z `which pylint` ]];then
echo "pylint is not installed. Installing ..."
pip install pylint
fi

pylint gcp_variant_transforms