Skip to content

Commit 8e5db30

Browse files
committed
ci: copy models fixture for e2e test consistency
1 parent d005e70 commit 8e5db30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ jobs:
6161
printf '%s\n' "XDG_STATE_HOME=${{ runner.temp }}/opencode-e2e/state" >> "$GITHUB_ENV"
6262
fi
6363
64+
- name: Copy models fixture
65+
run: |
66+
cp "${{ github.workspace }}/packages/opencode/test/tool/fixtures/models-api.json" "${{ github.workspace }}/packages/opencode/src/provider/models-snapshot.ts"
67+
6468
- name: Seed opencode data
6569
if: matrix.settings.name != 'windows'
6670
working-directory: packages/opencode

0 commit comments

Comments
 (0)