|
8 | 8 |
|
9 | 9 | jobs: |
10 | 10 | 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 |
13 | 47 |
|
14 | 48 | steps: |
15 | 49 | - name: Checkout code |
@@ -91,16 +125,17 @@ jobs: |
91 | 125 | tcp:localhost:8008 |
92 | 126 | tcp:localhost:8009 |
93 | 127 |
|
94 | | - - name: Run tests |
| 128 | + - name: Run tests – ${{ matrix.suite }} |
95 | 129 | working-directory: typescript-sdk/apps/dojo/e2e |
96 | 130 | env: |
97 | 131 | BASE_URL: http://localhost:9999 |
98 | | - run: pnpm test |
| 132 | + run: | |
| 133 | + pnpm test -- ${{ matrix.test_path }} |
99 | 134 |
|
100 | | - - name: Upload traces |
| 135 | + - name: Upload traces – ${{ matrix.suite }} |
101 | 136 | if: always() # Uploads artifacts even if tests fail |
102 | 137 | uses: actions/upload-artifact@v4 |
103 | 138 | with: |
104 | | - name: playwright-traces |
| 139 | + name: playwright-traces-${{ matrix.suite }} |
105 | 140 | path: typescript-sdk/apps/dojo/e2e/test-results/ |
106 | 141 | retention-days: 7 |
0 commit comments