Fix CI test: mount DEPLOY_DIR instead of subdirectory
Some checks failed
Deploy to NAS / deploy (push) Failing after 14s

Docker daemon can't bind-mount a subdirectory that it can't independently
verify — mount the parent and set -w /src/backend instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Christoph K.
2026-04-07 20:57:32 +02:00
parent 86627f94b1
commit 4d7ff23457

View File

@@ -26,8 +26,8 @@ jobs:
- name: Test - name: Test
run: | run: |
docker run --rm \ docker run --rm \
-v ${{ vars.DEPLOY_DIR }}/backend:/app \ -v ${{ vars.DEPLOY_DIR }}:/src \
-w /app \ -w /src/backend \
golang:1.25-alpine \ golang:1.25-alpine \
go test ./... go test ./...