Skip to content

Commit 536372e

Browse files
committed
trying a matrix based approach to suites
Signed-off-by: Tyler Slaton <[email protected]>
1 parent f4dffda commit 536372e

File tree

1 file changed

+41
-6
lines changed

1 file changed

+41
-6
lines changed

.github/workflows/dojo-e2e.yml

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,42 @@ on:
88

99
jobs:
1010
e2e:
11-
name: E2E Tests
12-
runs-on: depot-ubuntu-latest-8
11+
name: e2e/${{ matrix.suite }}
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
include:
17+
- suite: smoke
18+
test_path: tests/smoke-only
19+
- suite: integration
20+
test_path: tests/integration
21+
- suite: copilotkit-home
22+
test_path: tests/copilotkit-home.spec.ts
23+
- suite: agno
24+
test_path: tests/agnoTests
25+
- suite: crew-ai
26+
test_path: tests/crewAITests
27+
- suite: langgraph
28+
test_path: tests/langgraphTests
29+
- suite: langgraph-fastapi
30+
test_path: tests/langgraphFastAPITests
31+
- suite: llama-index
32+
test_path: tests/llamaIndexTests
33+
- suite: mastra
34+
test_path: tests/mastraTests
35+
- suite: mastra-agent-local
36+
test_path: tests/mastraAgentLocalTests
37+
- suite: middleware-starter
38+
test_path: tests/middlewareStarterTests
39+
- suite: pydantic-ai
40+
test_path: tests/pydanticAITests
41+
- suite: server-starter
42+
test_path: tests/serverStarterTests
43+
- suite: server-starter-all
44+
test_path: tests/serverStarterAllFeaturesTests
45+
- suite: vercel-ai-sdk
46+
test_path: tests/vercelAISdkTests
1347

1448
steps:
1549
- name: Checkout code
@@ -91,16 +125,17 @@ jobs:
91125
tcp:localhost:8008
92126
tcp:localhost:8009
93127
94-
- name: Run tests
128+
- name: Run tests – ${{ matrix.suite }}
95129
working-directory: typescript-sdk/apps/dojo/e2e
96130
env:
97131
BASE_URL: http://localhost:9999
98-
run: pnpm test
132+
run: |
133+
pnpm test -- ${{ matrix.test_path }}
99134
100-
- name: Upload traces
135+
- name: Upload traces – ${{ matrix.suite }}
101136
if: always() # Uploads artifacts even if tests fail
102137
uses: actions/upload-artifact@v4
103138
with:
104-
name: playwright-traces
139+
name: playwright-traces-${{ matrix.suite }}
105140
path: typescript-sdk/apps/dojo/e2e/test-results/
106141
retention-days: 7

0 commit comments

Comments
 (0)