Integration #48
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 | |
| on: | |
| schedule: | |
| - cron: '0 6 * * *' # Daily at 6 AM UTC | |
| workflow_dispatch: # Manual trigger | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout adapter | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Clone PAI repository | |
| run: git clone --depth 1 https://github.com/danielmiessler/Personal_AI_Infrastructure.git /tmp/pai-repo | |
| - name: Run unit tests | |
| run: bun test | |
| - name: Run integration tests | |
| env: | |
| PAI_REPO_PATH: /tmp/pai-repo | |
| run: bun test src/__tests__/integration-pai.test.ts |