diff options
| author | Adam <[email protected]> | 2026-01-21 05:59:28 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-21 06:00:21 -0600 |
| commit | 4b8335160b1095aa090cf32982451ef2984038af (patch) | |
| tree | 144619fedcc8affdc25b8fccb5f17e5c9713a997 /.github/workflows | |
| parent | 8b0353cb2a559b0e02f9195f08393423e777f63f (diff) | |
| download | opencode-4b8335160b1095aa090cf32982451ef2984038af.tar.gz opencode-4b8335160b1095aa090cf32982451ef2984038af.zip | |
test(app): fix e2e
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02d5baedf..6874d580c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: host: windows-latest playwright: bunx playwright install workdir: packages/app - command: bun test:e2e + command: bun test:e2e:local runs-on: ${{ matrix.settings.host }} defaults: run: @@ -65,6 +65,7 @@ jobs: fi - name: Seed opencode data + if: matrix.settings.name != 'windows' working-directory: packages/opencode run: bun script/seed-e2e.ts env: @@ -85,6 +86,7 @@ jobs: OPENCODE_E2E_MODEL: "opencode/gpt-5-nano" - name: Run opencode server + if: matrix.settings.name != 'windows' working-directory: packages/opencode run: bun dev -- --print-logs --log-level WARN serve --port 4096 --hostname 127.0.0.1 & env: @@ -102,6 +104,7 @@ jobs: OPENCODE_CLIENT: "app" - name: Wait for opencode server + if: matrix.settings.name != 'windows' run: | for i in {1..120}; do curl -fsS "http://127.0.0.1:4096/global/health" > /dev/null && exit 0 |
