From 156e54f0ea7bf0b6f68e7a40a5335843572c72ab Mon Sep 17 00:00:00 2001 From: Daniel Volz Date: Fri, 30 Jan 2026 19:15:54 +0100 Subject: [PATCH] fix: add CI=true to test badge workflow (#83) Frontend tests were running in watch mode without CI=true env var, causing the workflow to hang for 30+ minutes. --- .github/workflows/update-test-badges.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/update-test-badges.yml b/.github/workflows/update-test-badges.yml index 170e134..af46fc5 100644 --- a/.github/workflows/update-test-badges.yml +++ b/.github/workflows/update-test-badges.yml @@ -41,6 +41,8 @@ jobs: - name: Run backend tests and capture count id: backend-tests working-directory: backend + env: + CI: true run: | OUTPUT=$(npm run test:run 2>&1) || true echo "$OUTPUT" @@ -51,6 +53,8 @@ jobs: - name: Run frontend tests and capture count id: frontend-tests working-directory: frontend + env: + CI: true run: | OUTPUT=$(npm run test -- --run 2>&1) || true echo "$OUTPUT"