From bbdaaf56288271e71ae557141ed7e2be79db3ba3 Mon Sep 17 00:00:00 2001 From: Jeffrey Smith Date: Thu, 2 Apr 2026 10:46:05 +0000 Subject: [PATCH] Fix playwright module resolution + parallelize test-runners MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Add npm install playwright to test-runner Dockerfile — the Playwright Docker image installs globally but require() from /work can't resolve it. Local install fixes the module path. 2. Remove test-sqlite dependency from test-runners job so it runs in parallel with DB tests instead of waiting for them. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/ci.yaml | 2 +- docker-compose.ci.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index eeceeaf..7175c98 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -374,7 +374,7 @@ jobs: # Skipped when: only docs changed. test-runners: runs-on: ubuntu-latest - needs: [detect-changes, test-sqlite] + needs: [detect-changes] if: | !cancelled() && !failure() && (needs.detect-changes.outputs.backend == 'true' || diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml index dc547c3..7da4ccf 100644 --- a/docker-compose.ci.yml +++ b/docker-compose.ci.yml @@ -30,6 +30,7 @@ services: dockerfile_inline: | FROM mcr.microsoft.com/playwright:v1.52.0-noble WORKDIR /work + RUN npm init -y && npm install playwright COPY ci/ /work/ci/ RUN chmod +x /work/ci/*.sh depends_on: