Hi -- has anyone had an issue similar to this: Using boot to run a clj/s test suite on CircleCI (with some clojure.spec tests). When tests fail, CircleCI does not recognize and says tests were successful. I think it's because an exit code of 0 was returned but I'm wondering if there's more going on.
@emergence I had that issue with ClojureScript
if that's your issue, just use @bensu's Doo library
it'll return the correct exit code for CI's
Hi @anmonteiro -- Thanks for responding. I actually just figured it out. Was using crisptrutski/boot-cljs-test
and had to add :exit? true
to my (test-cljs)
call. I believe it uses doo
as a dependency.
yes!
🙂
@emergence you can have a look at a slightly complex setup here: https://github.com/anmonteiro/lumo/blob/master/build.boot#L36-L52