Files
spring-ai/semantic-cache/scripts/run-all.sh
T

9 lines
369 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerates every file under output/ from the test suite. Needs Redis Stack on :6393 (scripts/services-up.sh).
# The first run downloads all-MiniLM-L6-v2 (about 87 MB) from Hugging Face into $TMPDIR/minilm-cache.
set -euo pipefail
cd "$(dirname "$0")/.."
rm -rf target
mvn -q -B test 2>&1 | grep -E "Tests run:|BUILD|FAIL|ERROR" || true
ls output