From 1ac0980c80f9e670145c20e51b03d25242f3ab22 Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Tue, 20 Jan 2026 09:34:05 -0600 Subject: test(app): windows e2e --- .github/workflows/test.yml | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9cf83ca8d..9510aee94 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,29 @@ on: workflow_dispatch: jobs: test: - runs-on: blacksmith-4vcpu-ubuntu-2404 + name: test (${{ matrix.settings.name }}) + strategy: + fail-fast: false + matrix: + settings: + - name: linux + host: blacksmith-4vcpu-ubuntu-2404 + playwright: bunx playwright install --with-deps + workdir: . + command: | + git config --global user.email "bot@opencode.ai" + git config --global user.name "opencode" + bun turbo typecheck + bun turbo test + - name: windows + host: windows-latest + playwright: bunx playwright install + workdir: packages/app + command: bun test:e2e + runs-on: ${{ matrix.settings.host }} + defaults: + run: + shell: bash steps: - name: Checkout repository uses: actions/checkout@v4 @@ -20,7 +42,7 @@ jobs: - name: Install Playwright browsers working-directory: packages/app - run: bunx playwright install --with-deps + run: ${{ matrix.settings.playwright }} - name: Seed opencode data working-directory: packages/opencode @@ -67,11 +89,8 @@ jobs: exit 1 - name: run - run: | - git config --global user.email "bot@opencode.ai" - git config --global user.name "opencode" - bun turbo typecheck - bun turbo test + working-directory: ${{ matrix.settings.workdir }} + run: ${{ matrix.settings.command }} env: CI: true MODELS_DEV_API_JSON: ${{ github.workspace }}/packages/opencode/test/tool/fixtures/models-api.json -- cgit v1.2.3