Merge branch 'staging' into gi-updates-wo-20191216

This commit is contained in:
Jay R. Newlin (PromptWorks) 2019-12-20 17:26:59 -05:00 committed by GitHub
commit 03c29ee325
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,28 +26,16 @@ fi
## Main ## Main
if [ "${RUN_PYTHON_TESTS}" = "true" ]; then if [ "${RUN_PYTHON_TESTS}" = "true" ]; then
python_test_status=0
set +e
output_divider "Lint Python files" output_divider "Lint Python files"
run_python_lint "${PYTHON_FILES}" run_python_lint "${PYTHON_FILES}"
((python_test_status+=$?))
output_divider "Perform static analysis on Python files" output_divider "Perform static analysis on Python files"
run_python_static_analysis "${PYTHON_FILES}" run_python_static_analysis "${PYTHON_FILES}"
((python_test_status+=$?))
output_divider "Perform type checking on Python files" output_divider "Perform type checking on Python files"
run_python_typecheck run_python_typecheck
((python_test_status+=$?))
output_divider "Run Python unit test suite" output_divider "Run Python unit test suite"
run_python_unit_tests "${PYTHON_FILES}" run_python_unit_tests "${PYTHON_FILES}"
((python_test_status+=$?))
if [ "${python_test_status}" != "0" ]; then
warning "Failed to pass one or more Python checks"
exit ${python_test_status}
fi
set -e
fi fi
if [ "${RUN_JS_TESTS}" = "true" ]; then if [ "${RUN_JS_TESTS}" = "true" ]; then