#!/usr/bin/env bash
# Run the Clojure unit tests inside the app image; needs only Docker. Extra args go to the test runner.
set -euo pipefail
cd "$(dirname "$0")/.."
source script/lib/docker.sh

build_unit_image
exec docker run --rm --security-opt apparmor=unconfined vibe-unit clojure -M:test "$@"
