Skip to content

Commit db5cd1a

Browse files
committed
Run tests in same step so we don't lose logs
1 parent ea26052 commit db5cd1a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/dojo-e2e.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,17 @@ jobs:
7070
echo "OPENAI_API_KEY=${OPENAI_API_KEY}" > python/ag_ui_langgraph/.env
7171
echo "LANGSMITH_API_KEY=${LANGSMITH_API_KEY}" >> python/ag_ui_langgraph/.env
7272
73-
- name: Run dojo and agents
73+
- name: Run dojo+agents and tests
7474
working-directory: typescript-sdk/apps/dojo
7575
env:
7676
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
7777
LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }}
78-
run: node ./scripts/run-dojo-everything.js &
78+
run: |
79+
node ./scripts/run-dojo-everything.js &
80+
npx wait-port 9999
81+
sleep 10
82+
pnpm exec playwright test --reporter=dot
7983
80-
- name: Run tests
81-
working-directory: typescript-sdk/apps/dojo/e2e2
82-
run: npx wait-port 9999 && sleep 10 && pnpm exec playwright test --reporter=dot
8384
8485
- name: Upload traces
8586
if: always() # Uploads artifacts even if tests fail

0 commit comments

Comments
 (0)