Live Smoke Tests #41
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: Live Smoke Tests | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| run_live: | |
| description: Run live smoke tests | |
| required: true | |
| default: false | |
| type: boolean | |
| schedule: | |
| - cron: "0 4 * * *" | |
| jobs: | |
| live-smoke: | |
| if: ${{ (github.event_name == 'workflow_dispatch' && inputs.run_live) || (github.event_name == 'schedule' && vars.LIVE_SMOKE_ENABLED == 'true') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| token: ${{ github.token }} | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Run live smoke tests | |
| run: bun test packages/agents/test/*.live.test.ts |