Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,30 @@ jobs:
node-version: 22
cache: npm

- name: Install uv
uses: astral-sh/setup-uv@v8.0.0
with:
python-version: "3.12"

- name: Install npm dependencies
run: npm ci

- name: Install Python dependencies
working-directory: cockpit/langgraph/streaming/python
run: uv sync

- name: Install Playwright browsers
run: npx playwright install --with-deps chromium

- name: Run cockpit e2e tests
run: npx nx e2e cockpit --skip-nx-cache
- name: Run cockpit example aimock e2e suites
run: |
set -e
for proj in cockpit-langgraph-streaming-angular cockpit-chat-tool-calls-angular cockpit-chat-subagents-angular; do
echo "::group::nx e2e $proj"
npx nx e2e "$proj" --skip-nx-cache
echo "::endgroup::"
sleep 5
done

e2e:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions cockpit/chat/subagents/angular/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
},
{
"path": "../../../../libs/langgraph"
},
{
"path": "../../../../libs/internal/aimock-harness"
}
]
}
3 changes: 0 additions & 3 deletions cockpit/chat/tool-calls/angular/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
},
{
"path": "../../../../libs/langgraph"
},
{
"path": "../../../../libs/internal/aimock-harness"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Run from repo root:
OPENAI_API_KEY=sk-... uv run --project cockpit/langgraph/streaming/python \
python apps/cockpit/e2e/scripts/record-streaming.py
python cockpit/langgraph/streaming/angular/e2e/scripts/record-streaming.py
"""
import json
import os
Expand Down Expand Up @@ -52,7 +52,7 @@
]
}

out_path = Path("apps/cockpit/e2e/fixtures/streaming.json")
out_path = Path("cockpit/langgraph/streaming/angular/e2e/fixtures/streaming.json")
out_path.parent.mkdir(parents=True, exist_ok=True)
out_path.write_text(json.dumps(fixture, indent=2) + "\n")
print(f"\nWrote fixture to {out_path}")
3 changes: 0 additions & 3 deletions cockpit/langgraph/streaming/angular/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
},
{
"path": "../../../../libs/langgraph"
},
{
"path": "../../../../libs/internal/aimock-harness"
}
]
}
Loading