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
37 changes: 37 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Python CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "agent/python/uv.lock"

- name: Set up Python
run: uv python install

- name: Install dependencies
run: uv sync --all-groups
working-directory: agent/python
continue-on-error: true

- name: Type check with pyright
run: uv run --frozen pyright
working-directory: agent/python
continue-on-error: true

- name: Lint with ruff
run: uv run --frozen ruff check .
working-directory: agent/python
continue-on-error: true
34 changes: 34 additions & 0 deletions .github/workflows/web-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Web CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: client/web/react/package-lock.json

- name: Install dependencies
run: npm ci
working-directory: client/web/react

- name: Type check
run: npx tsc --noEmit
working-directory: client/web/react
continue-on-error: true

- name: Build
run: npm run build
working-directory: client/web/react
continue-on-error: true
8 changes: 7 additions & 1 deletion agent/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ packages = ["."]
requires = ["hatchling"]
build-backend = "hatchling.build"

[dependency-groups]
dev = [
"pyright>=1.1.391",
"ruff>=0.9.1",
]

[tool.uv.sources]
maui-a2ui-python = { path = "../../../a2ui/agent/python-agent", editable = true}
maui-a2ui-python = { path = "$MAUI_PATH", editable = true}
40 changes: 26 additions & 14 deletions client/web/react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading