Files
spring-ai/image-gen/scripts/run-all.sh
T

10 lines
435 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerates every file under output/ from the test suite. No API key. Needs Docker for the
# MinIO tests (Testcontainers pulls chainguard/minio, an upstream MinIO build; override with
# -Dminio.image=...). The image models and the moderation model are hand-written fakes.
set -euo pipefail
cd "$(dirname "$0")/.."
rm -rf target output
mvn -q -B test 2>&1 | grep -E "Tests run:|BUILD|FAIL|ERROR" || true
ls output