From 6ea36f7d1ff859824f9521e7ec15ffe419f0dff4 Mon Sep 17 00:00:00 2001 From: Lars Date: Mon, 7 Sep 2026 14:30:46 +0200 Subject: [PATCH] Mount the Dev checkout so backend tests can read frontend sources. Co-authored-by: Cursor --- .gitea/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 484ead2..4cfb4b0 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -40,7 +40,9 @@ jobs: docker compose -f "$COMPOSE_FILE" exec -T postgres \ psql -U "$PGUSER" -d postgres -v ON_ERROR_STOP=1 \ -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 DB_NAME=kansho_test \ -e KANSHO_PROVIDER_KEY= \