13 lines
246 B
Bash
Executable File
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 $*
|