E2E Isolated Test #54
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: E2E Isolated Test | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| test: | |
| description: "Test name filter (regex)" | |
| required: true | |
| default: "TestInteractiveMultiStep" | |
| jobs: | |
| e2e-isolated: | |
| # runs-on: ubuntu-latest | |
| runs-on: windows-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup mise | |
| uses: jdx/mise-action@v3 | |
| - name: Install Claude Code | |
| run: | | |
| irm https://claude.ai/install.ps1 | iex | |
| "$env:USERPROFILE\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | |
| - name: Bootstrap agent | |
| shell: bash | |
| env: | |
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | |
| run: go run ./e2e/bootstrap claude-code | |
| - name: Run isolated test | |
| shell: bash | |
| env: | |
| ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | |
| E2E_ARTIFACT_DIR: ${{ github.workspace }}/e2e-artifacts | |
| run: | | |
| mkdir -p "$E2E_ARTIFACT_DIR" | |
| mise run test:e2e --agent claude-code "${{ inputs.test }}" | |
| - name: Upload artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: e2e-isolated-claude-code-${{ inputs.test }} | |
| path: e2e-artifacts/ | |
| retention-days: 7 |