atst/script/cibuild
2018-08-07 10:39:53 -04:00

24 lines
481 B
Bash
Executable File

#!/bin/bash
# script/cibuild: Run CI related checks and tests
source "$(dirname "${0}")"/../script/include/global_header.inc.sh
# Run lint/style checks and unit tests
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"
# Compile assets
yarn build
# Run the shared test script
source ./script/include/run_test