Repository navigation
Run every test and script Git command with an allowlisted environment #775
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: | |
| push: | |
| branches: [main, 'codex/**'] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '26.7.0' | |
| cache: npm | |
| - run: npm ci --ignore-scripts | |
| - run: npm run typecheck | |
| # The Docker agent suites run one file at a time in the Agent isolation workflow; running them here | |
| # would put them in parallel against the same image tag and daemon. | |
| - run: npm test -- --exclude test/agent-container.test.ts --exclude test/agent-network.test.ts --exclude test/agent-adapter.test.ts --exclude test/agent-supervisor.test.ts --exclude test/agent-gate.test.ts --exclude test/agent-question.test.ts | |
| - run: npx playwright install --with-deps chromium | |
| - run: npm run test:browser |