ci: use libsqld server in CI instead of Turso CLI

This commit is contained in:
2024-06-13 05:33:10 -04:00
parent 0db6fa9f70
commit 8f861ceca0
4 changed files with 31 additions and 6 deletions

View File

@@ -13,10 +13,10 @@ jobs:
- uses: oven-sh/setup-bun@v1
- name: Install
run: bun install
- name: Install Turso CLI
run: curl -sSfL https://get.tur.so/install.sh | bash
- name: Install libsql server
run: curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tursodatabase/libsql/releases/download/libsql-server-v0.24.14/libsql-server-installer.sh | sh
- name: Test
run: bun run test
run: bun run test --dbCommand \"~/.cargo/bin/sqld --http-listen-addr=127.0.0.1:3000\"
# TODO: uncomment this when https://github.com/cloudflare/workers-sdk/issues/5082 is fixed
# - name: Verify env
# run: bun env:verify