13 lines
245 B
Bash
Executable File
13 lines
245 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 --errors-only atst
|
|
|
|
# Run unit tests
|
|
pipenv run python -m pytest -s $*
|