-
Notifications
You must be signed in to change notification settings - Fork 2
69 lines (53 loc) · 1.77 KB
/
examples-smoke.yml
File metadata and controls
69 lines (53 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Examples Smoke
on:
workflow_dispatch:
jobs:
getting-started:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install uv
run: python -m pip install uv
- name: Sync getting-started example
run: uv sync --frozen --package getting-started
- name: Run getting-started example
run: uv run --package getting-started python examples/getting_started/main.py
base:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install uv
run: python -m pip install uv
- name: Sync base example
run: uv sync --frozen --package base --all-extras
- name: Build base example graph
run: |
uv run --package base python -c \
"from base.sample_workflow.graph import create_sample_workflow_graph; print(create_sample_workflow_graph().to_dot_notation())"
ai-chat-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install uv
run: python -m pip install uv
- name: Sync AI chat backend example
run: uv sync --frozen --package app
- name: Build AI chat workflow graph
run: |
uv run --package app python -c \
"from app.workflows.handle_message.graph import create_handle_message_graph; print(create_handle_message_graph().to_mermaid())"