Run tests on CI with the CI env

This commit is contained in:
Patrick Smith 2018-08-03 11:35:10 -04:00
parent 4f167ef9e4
commit 2933ec2e7a

View File

@ -5,4 +5,16 @@
source "$(dirname "${0}")"/../script/include/global_header.inc.sh source "$(dirname "${0}")"/../script/include/global_header.inc.sh
# Run lint/style checks and unit tests # Run lint/style checks and unit tests
source ./script/test export FLASK_ENV=ci
# Enable database resetting
RESET_DB="true"
# Define all relevant python files and directories for this app
PYTHON_FILES="./app.py ./atst ./config"
# Enable Python testing
RUN_PYTHON_TESTS="true"
# Run the shared test script
source ./script/include/run_test