atst/script/test
2018-06-26 10:39:30 -04:00

13 lines
246 B
Bash
Executable File

#!/bin/bash
# If a command fails, exit the script
set -e
# Ensure we are in the app root directory (not the /script directory)
cd "$(dirname "${0}")/.."
pipenv run pylint app.py atst/ tests/
# Run unit tests
pipenv run python -m pytest -s $*