Use supported Compose create flags for the CI test runner
test-and-build / test (push) Successful in 4m11s
test-and-build / build (push) Successful in 2m12s

This commit is contained in:
2026-10-03 21:25:45 +02:00
parent 5ec0998b20
commit d93735b3c5
+1 -1
View File
@@ -6,7 +6,7 @@ export COMPOSE_PROJECT_NAME="btcdata-archive-test-${GITHUB_RUN_ID:-$$}-${GITHUB_
compose=(docker compose -f tests/integration/compose.yaml)
trap '"${compose[@]}" down -v' EXIT
"${compose[@]}" up -d postgres rustfs
"${compose[@]}" create --no-deps tests
"${compose[@]}" create tests
runner="$("${compose[@]}" ps -aq tests)"
# CI's workspace is inside its job container, not on the Docker host. Copy only
# test inputs; never bind-mount the workspace or copy .env, .git, or production secrets.