Files

11 lines
590 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerates every file under output/. Needs JDK 25, Maven 3.9, network access to Maven Central, and a PostgreSQL with
# pgvector on 127.0.0.1:55433 (user postgres, trust auth, database vec; scripts/start-postgres.sh starts one without Docker).
# T05 and T07 read the server log (/tmp/hibvec-pg/pg.log, override with -Dpg.log=...) for auto_explain output, so the
# server has to be local and its log readable by the user running the tests.
# ./scripts/start-postgres.sh && ./scripts/run-all.sh
set -euo pipefail
cd "$(dirname "$0")/.."
mvn -B clean test
ls -1 output