M16: isolate acceptance and harden readiness
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
project="mobilityops-test"
|
||||
compose_files="-f compose.yaml -f compose.test.yaml"
|
||||
|
||||
cleanup() {
|
||||
docker compose -p "$project" $compose_files down -v --remove-orphans
|
||||
}
|
||||
|
||||
trap cleanup EXIT INT TERM
|
||||
cleanup
|
||||
docker compose -p "$project" $compose_files run --build --rm api pytest "$@"
|
||||
Reference in New Issue
Block a user