Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/tauri-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ jobs:
- name: Typecheck
run: pnpm typecheck

- name: Unit / slice smoke (vitest)
run: pnpm test

- name: Production build
run: pnpm build

Expand Down
3 changes: 3 additions & 0 deletions apps/tauri/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,11 @@ You should get the shell chrome and an `app_info` status line. **Open SQLite…*
| `pnpm tauri dev` | Full desktop shell |
| `pnpm build` | `vue-tsc` + Vite production build |
| `pnpm typecheck` | TypeScript / Vue check |
| `pnpm test` | Vitest (query stream accumulator smoke) |
| `pnpm tauri build` | Native bundles |

SQLite fixture: [`fixtures/smoke.db`](./fixtures/smoke.db) — exercised by `cargo test` (`connect_introspect_query_fixture`).

### Rust

```bash
Expand Down
5 changes: 5 additions & 0 deletions apps/tauri/fixtures/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Fixtures

| File | Purpose |
|------|---------|
| `smoke.db` | SQLite vertical-slice smoke (`users`, `user_emails`) used by Rust `smoke_slice` and manual `pnpm tauri dev` checks |
Binary file added apps/tauri/fixtures/smoke.db
Binary file not shown.
5 changes: 4 additions & 1 deletion apps/tauri/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"tauri": "tauri",
"typecheck": "vue-tsc --noEmit"
"typecheck": "vue-tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@codemirror/commands": "^6.11.1",
Expand Down Expand Up @@ -37,6 +39,7 @@
"@vitejs/plugin-vue": "^6.0.7",
"typescript": "~5.8.3",
"vite": "^6.3.5",
"vitest": "^3.2.4",
"vue-tsc": "^2.2.10"
}
}
Loading
Loading