feat: optional Daytona coding subagent #37
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| runtime: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 | |
| - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 22.x | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm check-types | |
| - run: pnpm test | |
| - name: Validate Railway graph | |
| run: node node_modules/railway/dist/iac/bin.js | |
| agent: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 | |
| with: | |
| enable-cache: true | |
| - name: Install locked dependencies | |
| run: uv sync --project agent --locked | |
| - name: Test agent | |
| working-directory: agent | |
| run: uv run pytest | |
| verify: | |
| name: verify | |
| if: always() | |
| needs: [runtime, agent] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Require every verification job | |
| env: | |
| RESULTS: ${{ join(needs.*.result, ' ') }} | |
| run: | | |
| test "$RESULTS" = "success success" || { | |
| echo "Verification failed: $RESULTS" | |
| exit 1 | |
| } |