ensure run-test.clj exits with non-zero on test failure

This commit is contained in:
Sean Corfield 2023-12-17 11:32:27 -08:00
parent 60d67d875e
commit 23ae537625

View file

@ -8,5 +8,8 @@
"NEXT_JDBC_TEST_MYSQL" "yes" "NEXT_JDBC_TEST_MYSQL" "yes"
"MSSQL_SA_PASSWORD" "Str0ngP4ssw0rd"} "MSSQL_SA_PASSWORD" "Str0ngP4ssw0rd"}
maria? maria?
(assoc "NEXT_JDBC_TEST_MARIA" "yes"))] (assoc "NEXT_JDBC_TEST_MARIA" "yes"))
(p/shell {:extra-env env} "clojure" "-X:test")) {:keys [exit]}
(p/shell {:extra-env env} "clojure" "-X:test")]
(when-not (zero? exit)
(System/exit exit)))