diff --git a/scripts/acceptance.sh b/scripts/acceptance.sh index 02cfbae..81c1c40 100755 --- a/scripts/acceptance.sh +++ b/scripts/acceptance.sh @@ -36,10 +36,17 @@ set_shell_debug_level 2 REQUIRED_SYSTEM_COMMANDS=( "kubectl" "python3" - "pip" "virtualenv" ) +if [[ "$OSTYPE" != "darwin"* ]]; then + # not required on OSX, as pip is installed a python package + # during python3 install (via homebrew) and is accessible + # once inside the virtualenv + REQUIRED_SYSTEM_COMMANDS+=(pip) + +fi + if [ "$CLUSTER_PROVIDER" == kind ]; then REQUIRED_SYSTEM_COMMANDS+=(kind) fi