From 66ee38f4569d6ed5c4fcd6f9cf3f695abf209253 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Wed, 1 Apr 2026 12:31:15 -0700 Subject: [PATCH] fix: update PR workflow to exclude e2e tests from unit test phase The workflow was running 'bun test' without arguments, which caused Bun to scan all directories including e2e/, picking up Playwright tests that should only run in the acceptance-tests phase. Updated to explicitly target unit/component tests: - src/__tests__/unit/ - src/__tests__/*.test.tsx - src/__tests__/auth-simple.test.ts --- .gitea/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index 413faed..f6601e4 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -20,7 +20,7 @@ jobs: run: bun install - name: Run unit tests - run: bun test + run: bun test src/__tests__/unit/ src/__tests__/*.test.tsx src/__tests__/auth-simple.test.ts acceptance-tests: runs-on: ubuntu-latest