Run tests on CI with the CI env
This commit is contained in:
parent
4f167ef9e4
commit
2933ec2e7a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user