From 32aa19cfcc521317f601c1c508aa1755cd390875 Mon Sep 17 00:00:00 2001 From: Aaron Trudeau <120415438+trudeaua-vividream-software@users.noreply.github.com> Date: Sat, 10 Jun 2023 15:43:00 -0400 Subject: [PATCH] Redo the jq presence test --- dist/steps/run_tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dist/steps/run_tests.sh b/dist/steps/run_tests.sh index ae61545..252f52f 100755 --- a/dist/steps/run_tests.sh +++ b/dist/steps/run_tests.sh @@ -43,6 +43,12 @@ echo "Using Unity version \"$UNITY_VERSION\" to test." if [ "$PACKAGE_MODE" = "true" ]; then echo "Running tests on a Unity package rather than a Unity project." + if ! command -v jq &> /dev/null + then + echo "jq could not be found. This is required for package mode, and is likely the result of using a custom Docker image. Please use the default image or install jq to your custom image." + exit 1 + fi + echo "" echo "###########################" echo "# Package Folder #"