chore(deps-dev): bump eslint from 10.9.0 to 10.9.1 #101
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 Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: | |
| - opened | |
| - labeled | |
| - synchronize | |
| jobs: | |
| run-e2e-tests: | |
| name: Run E2E Tests | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| # Run on PRs labeled `e2e-tests` (release PRs carry it), main pushes, or manual runs. | |
| if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'e2e-tests') | |
| env: | |
| GROVE_API_KEY: ${{ secrets.AGENT_E2E_GROVE_API_KEY }} | |
| AGENT_E2E_CODEX_MODEL: ${{ vars.AGENT_E2E_CODEX_MODEL }} | |
| AGENT_E2E_CLAUDE_MODEL: ${{ vars.AGENT_E2E_CLAUDE_MODEL }} | |
| AGENT_E2E_TUI_BACKEND: ${{ vars.AGENT_E2E_TUI_BACKEND }} | |
| steps: | |
| - uses: GitHubSecurityLab/actions-permissions/monitor@v1 | |
| - uses: actions/checkout@v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: pnpm/action-setup@v5 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: package.json | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build | |
| run: pnpm run build | |
| - name: Install codex CLI | |
| run: npm install -g @openai/codex && codex --version | |
| - name: Install claude CLI | |
| run: npm install -g @anthropic-ai/claude-code && claude --version | |
| - name: Run agent e2e tests | |
| # Drives codex + claude through tui-test's bundled headless terminal emulator. | |
| run: pnpm run test:e2e-tests | |
| - name: Upload agent e2e test report | |
| if: always() | |
| uses: actions/upload-artifact@v7.0.1 | |
| with: | |
| name: e2e-tests-test-report | |
| path: | | |
| coverage | |
| if-no-files-found: ignore |