Skip to content

Add workflow to verify Python example builds #2

Add workflow to verify Python example builds

Add workflow to verify Python example builds #2

name: Build python samples
on:
push:
branches:
- main
paths:
- 'a2a_agents/python/adk/samples/**'
pull_request:
paths:
- 'a2a_agents/python/adk/samples/**'
jobs:
build:
name: Build samples
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install `uv` globally
run: |
python -m pip install --upgrade pip
pip install uv
- name: Build contact_lookup
working-directory: a2a_agents/python/adk/samples/contact_lookup
run: uv build .
- name: Build orchestrator
working-directory: a2a_agents/python/adk/samples/orchestrator
run: uv build .
- name: Build restaurant_finder
working-directory: a2a_agents/python/adk/samples/restaurant_finder
run: uv build .
- name: Build rizzcharts
working-directory: a2a_agents/python/adk/samples/rizzcharts
run: uv build .