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

Commit

Permalink
Merge pull request #2975 from MycroftAI/feature/vk-only-shutdown-on-ci
Browse files Browse the repository at this point in the history
VK: Only stop Mycroft services if running in CI
  • Loading branch information
krisgesling authored Sep 13, 2021
2 parents 600aa76 + 8d11349 commit 9e9f2f7
Showing 1 changed file with 4 additions and 2 deletions.
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 @@ -22,8 +22,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

0 comments on commit 9e9f2f7

Please sign in to comment.