File tree Expand file tree Collapse file tree 1 file changed +23
-7
lines changed Expand file tree Collapse file tree 1 file changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -69,17 +69,33 @@ jobs:
6969 echo "OPENAI_API_KEY=${OPENAI_API_KEY}" > python/ag_ui_langgraph/.env
7070 echo "LANGSMITH_API_KEY=${LANGSMITH_API_KEY}" >> python/ag_ui_langgraph/.env
7171
72- - name : Run dojo+agents and tests
73- working-directory : typescript-sdk/apps/dojo/e2e
72+ - name : Run dojo+agents
73+ uses : JarvusInnovations/background-action@v1
7474 env :
7575 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
7676 LANGSMITH_API_KEY : ${{ secrets.LANGSMITH_API_KEY }}
77+ with :
78+ run : |
79+ node ../scripts/run-dojo-everything.js
80+ working-directory : typescript-sdk/apps/dojo/e2e
81+ wait-on : |
82+ http://localhost:9999
83+ tcp:localhost:8000
84+ tcp:localhost:8001
85+ tcp:localhost:8002
86+ tcp:localhost:8003
87+ tcp:localhost:8004
88+ tcp:localhost:8005
89+ tcp:localhost:8006
90+ tcp:localhost:8007
91+ tcp:localhost:8008
92+ tcp:localhost:8009
93+
94+ - name : Run tests
95+ working-directory : typescript-sdk/apps/dojo/e2e
96+ env :
7797 BASE_URL : http://localhost:9999
78- run : |
79- node ../scripts/run-dojo-everything.js &
80- npx wait-port 9999
81- sleep 10
82- pnpm test
98+ run : pnpm test
8399
84100 - name : Upload traces
85101 if : always() # Uploads artifacts even if tests fail
You can’t perform that action at this time.
0 commit comments