ci: run tests/e2e per-file in parallel with a 30-minute budget

The core E2E suites spawn real processes (serve, gateway, tui_gateway,
MCP servers, concurrent SQLite writers). One subprocess per file keeps
them isolated and parallel instead of one sequential pytest.
This commit is contained in:
teknium1
2026-09-23 02:44:17 -07:00
committed by Teknium
parent 462afbe58d
commit 52dfbd2eed

View File

@@ -152,7 +152,7 @@ jobs:
e2e:
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -212,9 +212,12 @@ jobs:
run: uv cache prune --ci
- name: Run e2e tests
# One subprocess per file, in parallel: the core suites spawn real
# processes (serve, gateway, tui_gateway, MCP servers, SQLite writers)
# and must not share interpreter state.
run: |
source .venv/bin/activate
python -m pytest tests/e2e/ -v --tb=short
scripts/run_tests.sh --include-integration tests/e2e
env:
OPENROUTER_API_KEY: ""
OPENAI_API_KEY: ""