2021-05-31 15:32:16 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
COMMIT_MESSAGE="$(git log --format=oneline -n 1 $CIRCLE_SHA1)"
|
|
|
|
|
|
|
|
if [[ $COMMIT_MESSAGE == *"[RUN ACC]"* ]] || [[ $FORCE_ACC_TEST == "true" ]]; then
|
|
|
|
# If user is not member of core team, context is not applie so acc test won't run anyway
|
|
|
|
echo "Running acceptance tests"
|
|
|
|
else
|
2021-06-01 13:42:51 +00:00
|
|
|
echo "Not running acceptance tests"
|
2021-05-31 15:32:16 +00:00
|
|
|
circleci-agent step halt
|
|
|
|
fi
|