Integration Tests #44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Integration Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - 'packages/cli/src/**' | |
| - 'packages/core/src/services/context.ts' | |
| - 'packages/core/src/services/memory.ts' | |
| - 'packages/core/src/services/intelligence.ts' | |
| - 'packages/core/src/services/entity.ts' | |
| - 'packages/core/src/services/workspace.ts' | |
| - 'packages/core/src/integrations/**' | |
| - 'packages/runtime/**' | |
| - 'test-data/**' | |
| - 'packages/cli/test/integration/**' | |
| - '.github/workflows/integration-tests.yml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/cli/src/**' | |
| - 'packages/core/src/services/context.ts' | |
| - 'packages/core/src/services/memory.ts' | |
| - 'packages/core/src/services/intelligence.ts' | |
| - 'packages/core/src/services/entity.ts' | |
| - 'packages/core/src/services/workspace.ts' | |
| - 'packages/core/src/integrations/**' | |
| - 'packages/runtime/**' | |
| - 'test-data/**' | |
| - 'packages/cli/test/integration/**' | |
| - '.github/workflows/integration-tests.yml' | |
| schedule: | |
| - cron: '0 6 * * *' | |
| jobs: | |
| integration-smoke: | |
| name: Integration Smoke | |
| if: github.event_name != 'schedule' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Typecheck | |
| run: npm run typecheck | |
| - name: Integration smoke tests | |
| run: npm run test:integration:smoke | |
| integration-full: | |
| name: Integration Full (Nightly) | |
| if: github.event_name == 'schedule' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Typecheck | |
| run: npm run typecheck | |
| - name: Full integration tests | |
| run: npm run test:integration:full |