Merge pull request #234 from dod-ccpo/circleci

Circleci
This commit is contained in:
Devon
2018-09-04 10:53:00 -04:00
committed by GitHub
5 changed files with 74 additions and 9 deletions

View File

@@ -7,18 +7,12 @@ 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"
PYTHON_FILES="./app.py ./atst/** ./config"
# Enable Python testing
RUN_PYTHON_TESTS="true"
# Compile assets
yarn build
# Check python formatting
source ./script/format check