Mount the Dev checkout so backend tests can read frontend sources.
Some checks failed
Deploy Development / deploy (push) Successful in 56s
Test Suite / backend-postgres (push) Failing after 1m51s
Test Suite / frontend-build (push) Successful in 15s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Lars 2026-09-07 14:30:46 +02:00
parent 36b9a2e424
commit 6ea36f7d1f

View File

@ -40,7 +40,9 @@ jobs:
docker compose -f "$COMPOSE_FILE" exec -T postgres \ docker compose -f "$COMPOSE_FILE" exec -T postgres \
psql -U "$PGUSER" -d postgres -v ON_ERROR_STOP=1 \ psql -U "$PGUSER" -d postgres -v ON_ERROR_STOP=1 \
-c "CREATE DATABASE kansho_test OWNER ${PGUSER};" -c "CREATE DATABASE kansho_test OWNER ${PGUSER};"
docker compose -f "$COMPOSE_FILE" exec -T \ docker compose -f "$COMPOSE_FILE" run --rm --no-deps \
-v "${APP_DIR}:/src:ro" \
-w /src/backend \
-e KANSHO_DB_BACKEND=postgres \ -e KANSHO_DB_BACKEND=postgres \
-e DB_NAME=kansho_test \ -e DB_NAME=kansho_test \
-e KANSHO_PROVIDER_KEY= \ -e KANSHO_PROVIDER_KEY= \