]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Don't allow tests to continue if the setup script fails
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 20 May 2023 06:03:24 +0000 (02:03 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 20 May 2023 06:03:24 +0000 (02:03 -0400)
.github/actions/ci-tests/action.yml

index 2d2d06798a29c25381b014750f5445178700a693..aa04fce5e8e7050f55786dfefc96af6eb5418e54 100644 (file)
@@ -200,7 +200,9 @@ runs:
             echo "================================================================================"
             echo "Calling $i"
             echo
-            $script
+            if ! $script; then
+              exit 1
+            fi
         done
         echo
         echo "Setup scripts complete"