Skip to content
Closed
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
42 changes: 42 additions & 0 deletions .github/workflows/a2a_agents_python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Python Agents CI

on:
push:
branches:
- main
paths:
- 'a2a_agents/python/**'
pull_request:
# paths:
# - 'a2a_agents/python/**'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11' # Specify a compatible Python version

- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Add uv to path
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH

- name: Show uv version
working-directory: a2a_agents/python
run: uv --version

- name: uv sync
working-directory: a2a_agents/python
run: uv sync

- name: uv build
working-directory: a2a_agents/python
run: uv build
Loading