Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

VK: Only stop Mycroft services if running in CI #2975

Merged
merged 1 commit into from
Sep 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test/integrationtests/voight_kampff/run_test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ ${SCRIPT_DIR}/../../../start-mycroft.sh all
echo "Running behave with the arguments \"$@\""
behave $@
RESULT=$?
# Stop all mycroft core services.
${SCRIPT_DIR}/../../../stop-mycroft.sh all
if [[ -v CI ]]; then
# Stop all mycroft core services if running in CI environment.
${SCRIPT_DIR}/../../../stop-mycroft.sh all
fi

# Reort the result of the behave test as exit status
exit $RESULT