diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d96ecdd4f8..f79d86b704 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -24,6 +24,10 @@ jobs: - name: Run validation script run: bun validate + - name: Core tests + run: bun test + working-directory: packages/core + - name: SDK tests run: bun run test working-directory: packages/sdk diff --git a/AGENTS.md b/AGENTS.md index cd4f815d3f..5b7e79fc39 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,7 +4,7 @@ - **Validate**: `bun validate` - Validates all provider/model configurations - **Build web**: `cd packages/web && bun run build` - Builds the web interface - **Dev server**: `cd packages/web && bun run dev` - Runs development server -- **No test framework** - No dedicated test commands found +- **Test**: `bun test` - Runs the core catalog tests (`packages/core/test`, includes repository-wide data invariants) and SDK unit tests; `cd packages/sdk && bun run test` additionally runs SDK codegen + typecheck ## Code Style - **Runtime**: Bun with TypeScript ESM modules